diff --git a/M2TWEOP Code/M2TWEOP library/patchesForGame.cpp b/M2TWEOP Code/M2TWEOP library/patchesForGame.cpp index 7b32b776..8dfc0a2f 100644 --- a/M2TWEOP Code/M2TWEOP library/patchesForGame.cpp +++ b/M2TWEOP Code/M2TWEOP library/patchesForGame.cpp @@ -1373,6 +1373,8 @@ int GATES_IGNORED = 0; bool __fastcall patchesForGame::onDecideRamAttacks(buildingBattle* gate, aiDetachment* detachment, int numRamsLeft) { + if (gate->perimeter > 0 && battleHelpers::getBattleData()->battleState >= 5) + return true; if (detachment != LAST_DETACHMENT) { GATES_IGNORED = 0;