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