整理模式代码:

移除无用的pauseLimit
移除重复的模式load函数(自动创建一个玩家)
This commit is contained in:
MrZ626
2021-08-03 02:05:13 +08:00
parent cca53b6376
commit 9b1f9fa9dd
78 changed files with 5 additions and 248 deletions

View File

@@ -499,7 +499,11 @@ do--function resetGameData(args)
end
destroyPlayers()
GAME.curMode.load()
if GAME.curMode.load then
GAME.curMode.load()
else
PLY.newPlayer(1)
end
freshPlayerPosition(args:find'q')
VK.restore()
if GAME.modeEnv.task then