From a042cc46c2401c50afb389108161499988358807 Mon Sep 17 00:00:00 2001 From: Laserlicht <13953785+Laserlicht@users.noreply.github.com> Date: Sat, 21 Oct 2023 19:10:02 +0200 Subject: [PATCH] no town selection on loadscreen --- client/lobby/OptionsTab.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/lobby/OptionsTab.cpp b/client/lobby/OptionsTab.cpp index 042410270..26c7ed634 100644 --- a/client/lobby/OptionsTab.cpp +++ b/client/lobby/OptionsTab.cpp @@ -1001,6 +1001,9 @@ void OptionsTab::SelectedBox::showPopupWindow(const Point & cursorPosition) void OptionsTab::SelectedBox::clickReleased(const Point & cursorPosition) { + if(SEL->screenType != ESelectionScreen::newGame) + return; + PlayerInfo pi = SEL->getPlayerInfo(playerSettings.color); const bool foreignPlayer = CSH->isGuest() && !CSH->isMyColor(playerSettings.color);