fixing upgrades again ...

This commit is contained in:
titiger 2021-03-27 01:11:02 +01:00
parent 86de5f12f5
commit ef313616c8
1 changed files with 1 additions and 1 deletions

View File

@ -3709,7 +3709,7 @@ bool Unit::morph(const MorphCommandType *mct, int frameIndex) {
this->setType(morphUnitType);
Field original_field = this->currField;
this->currField=morphUnitField;
computeTotalUpgrade();
//computeTotalUpgrade(); don't do this here! Its already done in another place
map->putUnitCells(this, this->pos, false, frameIndex < 0);
this->faction->applyDiscount(morphUnitType, mct->getDiscount());