Moves one var check back to where it was, specifically for if the AI has an objective to attack currently
This fixes random elimination squads/enemies chilling until you attack them
Why it should be added to the game
In the same commit that burger made AI's run away at round end, they tried to make the code a bit neater by pushing back can_attack and objective_attack 1 proc backwards.
That in fact made every AI unable to find players, ever, as long as they were not attacked.
What this PR does
Moves one var check back to where it was, specifically for if the AI has an objective to attack currently
This fixes random elimination squads/enemies chilling until you attack them
Why it should be added to the game
In the same commit that burger made AI's run away at round end, they tried to make the code a bit neater by pushing back
can_attack
andobjective_attack
1 proc backwards. That in fact made every AI unable to find players, ever, as long as they were not attacked.