Fix 'game not defined' exception

This commit is contained in:
Raffson 2023-10-01 22:36:31 +02:00
parent 2c6c2e5fbd
commit b3f5afe36b
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -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
)
)