fix frontline generation (#609)

This commit is contained in:
Druss99
2025-11-05 17:52:38 -05:00
committed by GitHub
parent 0510af8b6b
commit 68e0d43a1d
3 changed files with 7 additions and 4 deletions

View File

@@ -768,7 +768,9 @@ class FlotGenerator:
positioned_groups = []
assert self.conflict.heading is not None
spawn_heading = (
self.conflict.heading.left if is_player else self.conflict.heading.right
self.conflict.heading.left
if is_player.is_blue
else self.conflict.heading.right
)
country = self.game.coalition_for(is_player).faction.country
country = self.mission.country(country.name)