调整destroyPlayers过程对cc特殊处理的代码

This commit is contained in:
MrZ626
2021-08-22 17:41:01 +08:00
parent e3eee3dc02
commit acb29c33d3

View File

@@ -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()