1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-17 11:56:46 +02:00
This commit is contained in:
Laserlicht 2024-07-26 02:24:53 +02:00
parent 977d8e041a
commit 2e2d8f8833

View File

@ -202,7 +202,7 @@ ui32 CGMine::getProducedQuantity() const
auto ret = producedQuantity * playerSettings->handicap.percentIncome / 100;
if(ret == 0 && producedQuantity > 0) // create at least 1 resource
ret = 1;
return producedQuantity * playerSettings->handicap.percentIncome / 100;
return ret;
}
void CGMine::battleFinished(const CGHeroInstance *hero, const BattleResult &result) const