1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Fix crash on clicking on map when player is not making turn in MP

This commit is contained in:
Ivan Savenko
2024-07-03 16:52:31 +00:00
parent 5ccf6750ab
commit 2584432b92
2 changed files with 7 additions and 3 deletions

View File

@ -395,8 +395,6 @@ void AdventureMapInterface::adjustActiveness()
void AdventureMapInterface::onCurrentPlayerChanged(PlayerColor playerID)
{
LOCPLINT->localState->setSelection(nullptr);
if (playerID == currentPlayerID)
return;