mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix final country-refactor related issues?
This commit is contained in:
parent
1a5e31c01a
commit
5eee136189
@ -94,7 +94,9 @@ class LogisticsGenerator:
|
||||
):
|
||||
# Spawn logisticsunit at pickup zones
|
||||
logistic_unit = self.mission.static_group(
|
||||
self.flight.squadron.coalition.faction.country,
|
||||
self.mission.country(
|
||||
self.flight.squadron.coalition.faction.country.name
|
||||
),
|
||||
f"{self.group.name}logistic",
|
||||
Fortification.FARP_Ammo_Dump_Coating,
|
||||
pickup_point,
|
||||
|
||||
@ -604,7 +604,7 @@ class HelipadGenerator:
|
||||
return
|
||||
# Note: Helipad are generated as neutral object in order not to interfer with
|
||||
# capture triggers
|
||||
country = self.game.coalition_for(self.cp.captured).faction.country
|
||||
country = self.m.country(self.cp.coalition.faction.country.name)
|
||||
|
||||
for i, helipad in enumerate(self.cp.helipads):
|
||||
heading = helipad.heading.degrees
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user