diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 70e54fc340..8e9e4f1042 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -892,7 +892,7 @@ struct GameOptionsWindow : Window { void OnPaint() override { - if (this->GetWidget(WID_GO_TAB_SELECTION)->shown_plane != 4) { + if (GameOptionsWindow::active_tab != WID_GO_TAB_ADVANCED) { this->DrawWidgets(); return; }