不允许使用瞬移操作的模式虚拟按键也不显示

This commit is contained in:
MrZ626
2020-09-08 23:08:18 +08:00
parent 6bc0da712d
commit 30f4073bc6
2 changed files with 42 additions and 29 deletions

View File

@@ -310,6 +310,7 @@ function resetGameData()
game.seed=rnd(261046101471026)
destroyPlayers()
restoreVirtualKey()
modeEnv=curMode.env
curMode.load()--BG/BGM need redefine in custom,so up here
if modeEnv.task then
@@ -328,7 +329,6 @@ function resetGameData()
game.stage=1
game.garbageSpeed=.3
end
restoreVirtualKey()
stat.game=stat.game+1
freeRow.reset(30*#players)
SFX.play("ready")
@@ -360,6 +360,7 @@ function resetPartGameData(replaying)
end
destroyPlayers()
restoreVirtualKey()
modeEnv=curMode.env
curMode.load()
if modeEnv.task then
@@ -378,7 +379,6 @@ function resetPartGameData(replaying)
game.stage=1
game.garbageSpeed=.3
end
restoreVirtualKey()
collectgarbage()
end
function gameStart()