更新后重新计算解锁状态保存时机调整
This commit is contained in:
1
main.lua
1
main.lua
@@ -371,7 +371,6 @@ do
|
|||||||
newVersionLaunch=true
|
newVersionLaunch=true
|
||||||
|
|
||||||
S.version=VERSION_CODE
|
S.version=VERSION_CODE
|
||||||
FILE.save(RANKS,"conf/unlock","q")
|
|
||||||
FILE.save(STAT,"conf/data")
|
FILE.save(STAT,"conf/data")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -190,6 +190,7 @@ function scene.update()
|
|||||||
RANKS[name]=nil
|
RANKS[name]=nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
FILE.save(RANKS,"conf/unlock","q")
|
||||||
end
|
end
|
||||||
STAT.run=STAT.run+1
|
STAT.run=STAT.run+1
|
||||||
LOADED=true
|
LOADED=true
|
||||||
|
|||||||
Reference in New Issue
Block a user