调整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.field))
|
||||||
FREEROW.discard(rem(P.visTime))
|
FREEROW.discard(rem(P.visTime))
|
||||||
end
|
end
|
||||||
if P.AI_mode=='CC'then
|
P:destroyBot()
|
||||||
CC.free(P.bot_opt)
|
|
||||||
CC.free(P.bot_wei)
|
|
||||||
CC.destroy(P.AI_bot)
|
|
||||||
P.AI_mode=false
|
|
||||||
end
|
|
||||||
PLAYERS[i]=nil
|
|
||||||
end
|
end
|
||||||
|
TABLE.cut(PLAYERS)
|
||||||
TABLE.cut(PLY_ALIVE)
|
TABLE.cut(PLY_ALIVE)
|
||||||
end
|
end
|
||||||
function pauseGame()
|
function pauseGame()
|
||||||
|
|||||||
Reference in New Issue
Block a user