mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Handle IADS updates properly.
This adds the missing events in the backend, and handles them properly in the front end.
This commit is contained in:
@@ -843,7 +843,7 @@ class ControlPoint(MissionTarget, SidcDescribable, ABC):
|
||||
tgo, VehicleGroupGroundObject
|
||||
):
|
||||
if isinstance(tgo, IadsGroundObject):
|
||||
game.theater.iads_network.update_tgo(tgo)
|
||||
game.theater.iads_network.update_tgo(tgo, events)
|
||||
conflict_heading = game.theater.heading_to_conflict_from(tgo.position)
|
||||
tgo.rotate(conflict_heading or tgo.heading)
|
||||
if not tgo.is_control_point:
|
||||
|
||||
Reference in New Issue
Block a user