mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
no town selection on loadscreen
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user