调整destroyPlayers过程对cc特殊处理的代码
This commit is contained in:
@@ -207,14 +207,9 @@ function destroyPlayers()--Destroy all player objects, restore freerows and free
|
||||
FREEROW.discard(rem(P.field))
|
||||
FREEROW.discard(rem(P.visTime))
|
||||
end
|
||||
if P.AI_mode=='CC'then
|
||||
CC.free(P.bot_opt)
|
||||
CC.free(P.bot_wei)
|
||||
CC.destroy(P.AI_bot)
|
||||
P.AI_mode=false
|
||||
end
|
||||
PLAYERS[i]=nil
|
||||
P:destroyBot()
|
||||
end
|
||||
TABLE.cut(PLAYERS)
|
||||
TABLE.cut(PLY_ALIVE)
|
||||
end
|
||||
function pauseGame()
|
||||
|
||||
Reference in New Issue
Block a user