mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix friendly AI shooting at fires at front-line
This commit is contained in:
parent
e7e43a95fb
commit
dbd9776aff
@ -52,6 +52,7 @@
|
||||
* **[Modding]** Swedish Military Assets Pack air defence presets are now correctly removed from the faction when the mod is disabled.
|
||||
* **[Mission Generation]** Naval aircraft not always returning to carrier
|
||||
* **[Mission Generation]** AI AirLift aircraft crashing into terrain due to insufficient waypoints
|
||||
* **[Mission Generation]** Fix friendly AI shooting at fires on the front-line
|
||||
|
||||
# Retribution v1.2.1 (hotfix)
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user