mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Off-map spawns are now ignored in on_pilot_selected().
This commit is contained in:
parent
a9950d4b80
commit
dc52457d80
@ -49,7 +49,9 @@ class QFlightStartType(QGroupBox):
|
|||||||
# Otherwise, set the start_type as configured for AI.
|
# Otherwise, set the start_type as configured for AI.
|
||||||
# https://github.com/dcs-liberation/dcs_liberation/issues/1567
|
# https://github.com/dcs-liberation/dcs_liberation/issues/1567
|
||||||
|
|
||||||
if self.flight.roster.player_count > 0:
|
if isinstance(self.flight.departure, OffMapSpawn):
|
||||||
|
return
|
||||||
|
elif self.flight.roster.player_count > 0:
|
||||||
self.flight.start_type = (
|
self.flight.start_type = (
|
||||||
self.flight.coalition.game.settings.default_start_type_client
|
self.flight.coalition.game.settings.default_start_type_client
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user