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:
parent
75cffa7d0b
commit
02a45007e7
@ -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);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user