Fix friendly AI shooting at fires at front-line

This commit is contained in:
Raffson
2024-02-18 22:45:12 +01:00
parent e7e43a95fb
commit dbd9776aff
2 changed files with 2 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ class VisualsGenerator:
self.game = game
def _generate_frontline_smokes(self) -> None:
country = self.mission.country(self.game.red.faction.country.name)
country = list(self.mission.coalition["neutrals"].countries.values())[0]
for front_line in self.game.theater.conflicts():
from_cp = front_line.blue_cp
to_cp = front_line.red_cp