mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Attempt to reset the simulation on abort.
This is optional because I really don't know if I trust it. I don't see much wrong with it (aside from the warning about not using it with auto- resolve, because it won't restore lost aircraft), but it's really not something I'd built for since it's not going to be possible as the RTS features grow. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2735.
This commit is contained in:
@@ -324,6 +324,19 @@ class Settings:
|
||||
"modifications."
|
||||
),
|
||||
)
|
||||
reset_simulation_on_abort: bool = boolean_option(
|
||||
"Reset mission to pre-take off conditions on abort (experimental)",
|
||||
page=MISSION_GENERATOR_PAGE,
|
||||
section=GAMEPLAY_SECTION,
|
||||
default=False,
|
||||
detail=(
|
||||
"If enabled, the fast-forward effects will be rewound when aborting take "
|
||||
"off. <strong>DO NOT USE THIS WITH AUTO-RESOLVE ENABLED.</strong> Lost "
|
||||
"aircraft will not be recovered. This option is experimental and may not "
|
||||
"work. It is always safer to reload your save after abort when using fast-"
|
||||
"forward."
|
||||
),
|
||||
)
|
||||
player_mission_interrupts_sim_at: Optional[StartType] = choices_option(
|
||||
"Player missions interrupt fast forward",
|
||||
page=MISSION_GENERATOR_PAGE,
|
||||
|
||||
Reference in New Issue
Block a user