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:
parent
3319be114f
commit
a7cdeb723e
@ -68,6 +68,8 @@ TownBuildingVisitQuery::TownBuildingVisitQuery(CGameHandler * owner, const CGTow
|
||||
|
||||
void TownBuildingVisitQuery::onExposure(QueryPtr topQuery)
|
||||
{
|
||||
topQuery->notifyObjectAboutRemoval(visitedObject, visitingHero);
|
||||
|
||||
onAdded(players.front());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user