修复STAT.lastPlay的更新时机不当
This commit is contained in:
1
main.lua
1
main.lua
@@ -336,7 +336,6 @@ do
|
||||
end
|
||||
|
||||
if STAT.version<1300 then
|
||||
STAT.lastPlay="sprint_10l"
|
||||
for _,name in next,fs.getDirectoryItems("replay")do
|
||||
fs.remove("replay/"..name)
|
||||
end
|
||||
|
||||
@@ -138,6 +138,12 @@ local loadingThread=coroutine.create(function()
|
||||
end
|
||||
if i%5==0 then YIELD()end
|
||||
end
|
||||
|
||||
upFloor()
|
||||
if not MODES[STAT.lastPlay]then
|
||||
STAT.lastPlay="sprint_10l"
|
||||
end
|
||||
|
||||
upFloor()
|
||||
SKIN.change(SETTING.skinSet)
|
||||
if newVersionLaunch then--Delete old ranks & Unlock modes which should be locked
|
||||
|
||||
Reference in New Issue
Block a user