* fix static resource production on unit morph
This commit is contained in:
parent
635bf616de
commit
9d8bb49a1b
|
@ -1299,6 +1299,7 @@ bool Unit::morph(const MorphCommandType *mct){
|
||||||
computeTotalUpgrade();
|
computeTotalUpgrade();
|
||||||
map->putUnitCells(this, pos);
|
map->putUnitCells(this, pos);
|
||||||
faction->applyDiscount(morphUnitType, mct->getDiscount());
|
faction->applyDiscount(morphUnitType, mct->getDiscount());
|
||||||
|
faction->applyStaticProduction(morphUnitType);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
Loading…
Reference in New Issue