diff --git a/parts/ai.lua b/parts/ai.lua index d279f7dc..5360ebbb 100644 --- a/parts/ai.lua +++ b/parts/ai.lua @@ -271,10 +271,6 @@ return{ }, ["CC"]={ function(P) - if P.AI_needFresh then - CC_updateField(P) - P.AI_needFresh=false - end BOT.think(P.AI_bot) return 2 end,--start thinking diff --git a/parts/player.lua b/parts/player.lua index ad743f90..3e5464c8 100644 --- a/parts/player.lua +++ b/parts/player.lua @@ -419,7 +419,7 @@ local function Pupdate_alive(P,dt) if P.y_img~=P.curY then P.dropDelay=P.gameEnv.drop elseif P.AI_mode=="CC"then - P.AI_needFresh=true + CC_updateField(P) if not P.AIdata._20G and P.gameEnv.drop