mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
show PRESENT status for neutral TGOs
This commit is contained in:
parent
6c3cbbf0de
commit
624f2a00fd
@ -90,6 +90,8 @@ class TheaterGroundObject(MissionTarget, SidcDescribable, ABC):
|
||||
|
||||
@property
|
||||
def sidc_status(self) -> Status:
|
||||
if self.control_point.captured.is_neutral:
|
||||
return Status.PRESENT
|
||||
if self.is_dead:
|
||||
return Status.PRESENT_DESTROYED
|
||||
elif self.dead_units:
|
||||
@ -575,6 +577,8 @@ class SamGroundObject(IadsGroundObject):
|
||||
|
||||
@property
|
||||
def sidc_status(self) -> Status:
|
||||
if self.control_point.captured.is_neutral:
|
||||
return Status.PRESENT
|
||||
if self.is_dead:
|
||||
return Status.PRESENT_DESTROYED
|
||||
elif self.dead_units:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user