mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix 'game not defined' exception
This commit is contained in:
parent
2c6c2e5fbd
commit
b3f5afe36b
@ -84,12 +84,12 @@ class CheatSettingsBox(QGroupBox):
|
||||
|
||||
self.base_runway_state_cheat_checkbox = QCheckBox()
|
||||
self.base_runway_state_cheat_checkbox.setChecked(
|
||||
game.settings.enable_runway_state_cheat
|
||||
sc.settings.enable_runway_state_cheat
|
||||
)
|
||||
self.base_runway_state_cheat_checkbox.toggled.connect(apply_settings)
|
||||
self.main_layout.addLayout(
|
||||
QLabeledWidget(
|
||||
"Enable runway state cheat:", self.base_runway_state_cheat_checkbox
|
||||
"Enable Runway State Cheat:", self.base_runway_state_cheat_checkbox
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user