日期刷新移至加载完成时而非刚进入游戏
This commit is contained in:
1
main.lua
1
main.lua
@@ -312,7 +312,6 @@ do
|
|||||||
fs.remove("conf/settings")
|
fs.remove("conf/settings")
|
||||||
end
|
end
|
||||||
|
|
||||||
freshDate()
|
|
||||||
if STAT.extraRate then
|
if STAT.extraRate then
|
||||||
STAT.finesseRate=5*(STAT.piece-STAT.extraRate)
|
STAT.finesseRate=5*(STAT.piece-STAT.extraRate)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ function scene.update()
|
|||||||
end
|
end
|
||||||
FILE.save(RANKS,"conf/unlock","q")
|
FILE.save(RANKS,"conf/unlock","q")
|
||||||
end
|
end
|
||||||
|
freshDate()
|
||||||
STAT.run=STAT.run+1
|
STAT.run=STAT.run+1
|
||||||
LOADED=true
|
LOADED=true
|
||||||
SFX.play("welcome_sfx")
|
SFX.play("welcome_sfx")
|
||||||
|
|||||||
Reference in New Issue
Block a user