mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
no town selection on loadscreen
This commit is contained in:
parent
f3acc939b9
commit
a042cc46c2
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user