mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Return self from end_combat.
No behavioral change, just consistency with the other APIs.
This commit is contained in:
parent
27dff95df5
commit
13546d77e7
@ -57,8 +57,9 @@ class GameUpdateEvents:
|
||||
self.updated_combats.append(combat)
|
||||
return self
|
||||
|
||||
def end_combat(self, combat: FrozenCombat) -> None:
|
||||
def end_combat(self, combat: FrozenCombat) -> GameUpdateEvents:
|
||||
self.ended_combats.append(combat)
|
||||
return self
|
||||
|
||||
def update_flight_position(
|
||||
self, flight: Flight, new_position: Point
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user