1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-08 00:39:47 +02:00

Fix town events not actually giving offered creatures

This commit is contained in:
Ivan Savenko 2024-10-11 15:01:18 +00:00
parent e0e01d678a
commit 115439f16a

View File

@ -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
}