mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add extra condition to preferred client start-type
This commit is contained in:
parent
f88c103db5
commit
8c9f62a2fb
@ -78,7 +78,11 @@ class PackageBuilder:
|
|||||||
)
|
)
|
||||||
# If this is a client flight, set the start_type again to match the configured default
|
# If this is a client flight, set the start_type again to match the configured default
|
||||||
# https://github.com/dcs-liberation/dcs_liberation/issues/1567
|
# https://github.com/dcs-liberation/dcs_liberation/issues/1567
|
||||||
if flight.roster is not None and flight.roster.player_count > 0:
|
if (
|
||||||
|
squadron.location.required_aircraft_start_type is None
|
||||||
|
and flight.roster is not None
|
||||||
|
and flight.roster.player_count > 0
|
||||||
|
):
|
||||||
flight.start_type = (
|
flight.start_type = (
|
||||||
squadron.coalition.game.settings.default_start_type_client
|
squadron.coalition.game.settings.default_start_type_client
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user