初始化模式后记录玩家数量写入GAME表
This commit is contained in:
@@ -1070,6 +1070,7 @@ do-- function resetGameData(args)
|
||||
else
|
||||
PLY.newPlayer(1)
|
||||
end
|
||||
GAME.initPlayerCount=#PLAYERS
|
||||
freshPlayerPosition((args:find'q') and 'quick' or 'normal')
|
||||
VK.restore()
|
||||
|
||||
|
||||
@@ -520,6 +520,7 @@ do-- Game data tables
|
||||
|
||||
seed=1046101471, -- Game seed
|
||||
curMode=false, -- Current gamemode object
|
||||
initPlayerCount=0, -- Player count when init game
|
||||
mod=TABLE.new(0,#MODOPT),-- List of loaded mods
|
||||
modeEnv=false, -- Current gamemode environment
|
||||
setting={}, -- Game settings
|
||||
|
||||
Reference in New Issue
Block a user