mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix group name for EWRs.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1246
This commit is contained in:
parent
2dee702060
commit
0a874a28ef
@ -597,7 +597,8 @@ class EwrGroundObject(TheaterGroundObject):
|
|||||||
@property
|
@property
|
||||||
def group_name(self) -> str:
|
def group_name(self) -> str:
|
||||||
# Prefix the group names with the side color so Skynet can find them.
|
# Prefix the group names with the side color so Skynet can find them.
|
||||||
return f"{self.faction_color}|{super().group_name}"
|
# Use Group Id and uppercase EWR
|
||||||
|
return f"{self.faction_color}|EWR|{self.group_id}"
|
||||||
|
|
||||||
def mission_types(self, for_player: bool) -> Iterator[FlightType]:
|
def mission_types(self, for_player: bool) -> Iterator[FlightType]:
|
||||||
from gen.flights.flight import FlightType
|
from gen.flights.flight import FlightType
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user