整理模式代码:
移除无用的pauseLimit 移除重复的模式load函数(自动创建一个玩家)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user