Fix adventure map left-clicking

This commit is contained in:
Ivan Savenko
2023-05-09 13:10:33 +03:00
parent 019d7b6811
commit 7aacba6e55
@@ -441,7 +441,7 @@ const CGObjectInstance* CAdventureMapInterface::getActiveObject(const int3 &mapP
void CAdventureMapInterface::onTileLeftClicked(const int3 &mapPos)
{
if(widget->getState() == EGameState::MAKING_TURN)
if(widget->getState() != EGameState::MAKING_TURN)
return;
//FIXME: this line breaks H3 behavior for Dimension Door