1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Fix blocking dialog handling in refusable rewardable town building

This commit is contained in:
Ivan Savenko 2024-09-23 13:00:02 +00:00
parent 3319be114f
commit a7cdeb723e

View File

@ -68,6 +68,8 @@ TownBuildingVisitQuery::TownBuildingVisitQuery(CGameHandler * owner, const CGTow
void TownBuildingVisitQuery::onExposure(QueryPtr topQuery)
{
topQuery->notifyObjectAboutRemoval(visitedObject, visitingHero);
onAdded(players.front());
}