From b3f5afe36bb8c3ff14c8686d5a45da6e0328b0cd Mon Sep 17 00:00:00 2001 From: Raffson Date: Sun, 1 Oct 2023 22:36:31 +0200 Subject: [PATCH] Fix 'game not defined' exception --- qt_ui/windows/settings/QSettingsWindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt_ui/windows/settings/QSettingsWindow.py b/qt_ui/windows/settings/QSettingsWindow.py index a7ba3c02..42e0a31b 100644 --- a/qt_ui/windows/settings/QSettingsWindow.py +++ b/qt_ui/windows/settings/QSettingsWindow.py @@ -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 ) )