1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

VCAI::showGarrisonDialog: don't try to pick army from locked garrison

This commit is contained in:
Arseniy Shestakov 2016-09-19 03:30:55 +03:00
parent 75cffa7d0b
commit 02a45007e7

View File

@ -697,7 +697,9 @@ void VCAI::showGarrisonDialog(const CArmedInstance *up, const CGHeroInstance *do
//you can't request action from action-response thread
requestActionASAP([=]()
{
pickBestCreatures (down, up);
if(removableUnits)
pickBestCreatures(down, up);
answerQuery(queryID, 0);
});
}