mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
@@ -264,4 +264,8 @@ class Flight(SidcDescribable):
|
||||
results.kill_pilot(self, pilot)
|
||||
|
||||
def recreate_flight_plan(self) -> None:
|
||||
from game.sim.gameupdateevents import GameUpdateEvents
|
||||
from game.server import EventStream
|
||||
|
||||
self._flight_plan_builder.regenerate()
|
||||
EventStream.put_nowait(GameUpdateEvents().update_flight(self))
|
||||
|
||||
Reference in New Issue
Block a user