mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
Fix town events not actually giving offered creatures
This commit is contained in:
@@ -116,6 +116,8 @@ void NewTurnProcessor::handleTownEvents(const CGTownInstance * town)
|
||||
iw.components.emplace_back(ComponentType::CREATURE, town->creatures.at(i).second.back(), event.creatures.at(i));
|
||||
}
|
||||
}
|
||||
|
||||
gameHandler->sendAndApply(sac); //show dialog
|
||||
}
|
||||
gameHandler->sendAndApply(iw); //show dialog
|
||||
}
|
||||
|
Reference in New Issue
Block a user