CT-38 BUG: Forcetracker does not update on unit update

This commit is contained in:
mitch 2022-04-19 08:35:23 -04:00
parent 96ea2e212a
commit 283e0ae068

View File

@ -176,7 +176,6 @@ export class ForceComponent implements OnInit {
fu.unit.enemyUnitsDestroyed = newUnitsDestroyed;
fu.unit.experiencePoints = newExperience;
// console.log(fu.unit);
this.unitArmyService.update(fu.unit).toPromise().then();
}
@ -199,7 +198,6 @@ export class ForceComponent implements OnInit {
}
if (this.army) {
// console.log(this.army)
this.armyService.update(this.army).toPromise().then()
}