mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Port the mission generator settings to auto.
Done now. Not porting the cheat menu because it contains non-settings elements as well.
This commit is contained in:
@@ -16,11 +16,14 @@ def boolean_option(
|
||||
default: bool,
|
||||
invert: bool = False,
|
||||
detail: Optional[str] = None,
|
||||
tooltip: Optional[str] = None,
|
||||
**kwargs: Any,
|
||||
) -> bool:
|
||||
return field(
|
||||
metadata={
|
||||
SETTING_DESCRIPTION_KEY: BooleanOption(page, section, text, detail, invert)
|
||||
SETTING_DESCRIPTION_KEY: BooleanOption(
|
||||
page, section, text, detail, tooltip, invert
|
||||
)
|
||||
},
|
||||
default=default,
|
||||
**kwargs,
|
||||
|
||||
Reference in New Issue
Block a user