- bugfix, when a unit morphs we now add to stored resource count if the unit is of that type (used to only work when building, now works during a morph)
This commit is contained in:
parent
6b89e38512
commit
ec467b6ac4
|
@ -1376,6 +1376,7 @@ bool Unit::morph(const MorphCommandType *mct){
|
|||
computeTotalUpgrade();
|
||||
map->putUnitCells(this, pos);
|
||||
faction->applyDiscount(morphUnitType, mct->getDiscount());
|
||||
faction->addStore(type);
|
||||
faction->applyStaticProduction(morphUnitType);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue