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:
parent
e0e01d678a
commit
115439f16a
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user