版本号改为0.14.0
This commit is contained in:
4
conf.lua
4
conf.lua
@@ -1,5 +1,5 @@
|
|||||||
VERSION_CODE=1303
|
VERSION_CODE=1400
|
||||||
VERSION_NAME="Alpha V0.13.3"
|
VERSION_NAME="Alpha V0.14.0"
|
||||||
function love.conf(t)
|
function love.conf(t)
|
||||||
t.identity="Techmino"--Saving folder
|
t.identity="Techmino"--Saving folder
|
||||||
t.version="11.1"
|
t.version="11.1"
|
||||||
|
|||||||
10
main.lua
10
main.lua
@@ -255,14 +255,12 @@ do
|
|||||||
if type(STAT.version)~="number"then
|
if type(STAT.version)~="number"then
|
||||||
STAT.version=0
|
STAT.version=0
|
||||||
end
|
end
|
||||||
if STAT.version<1204 then
|
if STAT.version<1300 then
|
||||||
STAT.frame=math.floor(STAT.time*60)
|
STAT.frame=math.floor(STAT.time*60)
|
||||||
STAT.lastPlay="sprint_10l"
|
STAT.lastPlay="sprint_10l"
|
||||||
RANKS.sprintFix=nil
|
RANKS.sprintFix=nil
|
||||||
RANKS.sprintLock=nil
|
RANKS.sprintLock=nil
|
||||||
needSave=true
|
needSave=true
|
||||||
end
|
|
||||||
if STAT.version<1300 then
|
|
||||||
for _,name in next,fs.getDirectoryItems("replay")do
|
for _,name in next,fs.getDirectoryItems("replay")do
|
||||||
fs.remove("replay/"..name)
|
fs.remove("replay/"..name)
|
||||||
end
|
end
|
||||||
@@ -270,13 +268,15 @@ do
|
|||||||
if STAT.version<1302 then
|
if STAT.version<1302 then
|
||||||
if RANKS.pctrain_n then RANKS.pctrain_n=0 end
|
if RANKS.pctrain_n then RANKS.pctrain_n=0 end
|
||||||
if RANKS.pctrain_l then RANKS.pctrain_l=0 end
|
if RANKS.pctrain_l then RANKS.pctrain_l=0 end
|
||||||
fs.remove("conf/user")
|
|
||||||
fs.remove("conf/settings")
|
fs.remove("conf/settings")
|
||||||
|
needSave=true
|
||||||
autoRestart=true
|
autoRestart=true
|
||||||
end
|
end
|
||||||
if STAT.version<1303 then
|
if STAT.version<1400 then
|
||||||
|
fs.remove("conf/user")
|
||||||
SETTING.appLock=false
|
SETTING.appLock=false
|
||||||
needSave=true
|
needSave=true
|
||||||
|
autoRestart=true
|
||||||
end
|
end
|
||||||
|
|
||||||
for _,v in next,VK_org do
|
for _,v in next,VK_org do
|
||||||
|
|||||||
Reference in New Issue
Block a user