Add option to avoid delaying player flights.

Fixes https://github.com/Khopa/dcs_liberation/issues/227
This commit is contained in:
Dan Albert
2020-11-01 14:13:06 -08:00
parent dde74af6b5
commit cdde75b517
3 changed files with 27 additions and 11 deletions

View File

@@ -44,10 +44,11 @@ class Settings:
for plugin in LuaPluginManager().getPlugins():
plugin.setSettings(self)
# Cheating
self.show_red_ato = False
self.never_delay_player_flights = False
def __setstate__(self, state) -> None:
# __setstate__ is called with the dict of the object being unpickled. We
# can provide save compatibility for new settings options (which