mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Don't send updates for CP TGOs.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2139
This commit is contained in:
parent
8f0d071afb
commit
7f05f6bc7d
@ -846,7 +846,8 @@ class ControlPoint(MissionTarget, SidcDescribable, ABC):
|
|||||||
game.theater.iads_network.update_tgo(tgo)
|
game.theater.iads_network.update_tgo(tgo)
|
||||||
conflict_heading = game.theater.heading_to_conflict_from(tgo.position)
|
conflict_heading = game.theater.heading_to_conflict_from(tgo.position)
|
||||||
tgo.rotate(conflict_heading or tgo.heading)
|
tgo.rotate(conflict_heading or tgo.heading)
|
||||||
events.update_tgo(tgo)
|
if not tgo.is_control_point:
|
||||||
|
events.update_tgo(tgo)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def required_aircraft_start_type(self) -> Optional[StartType]:
|
def required_aircraft_start_type(self) -> Optional[StartType]:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user