CT-38 #17
@ -176,7 +176,6 @@ export class ForceComponent implements OnInit {
|
|||||||
|
|
||||||
fu.unit.enemyUnitsDestroyed = newUnitsDestroyed;
|
fu.unit.enemyUnitsDestroyed = newUnitsDestroyed;
|
||||||
fu.unit.experiencePoints = newExperience;
|
fu.unit.experiencePoints = newExperience;
|
||||||
// console.log(fu.unit);
|
|
||||||
this.unitArmyService.update(fu.unit).toPromise().then();
|
this.unitArmyService.update(fu.unit).toPromise().then();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -199,7 +198,6 @@ export class ForceComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.army) {
|
if (this.army) {
|
||||||
// console.log(this.army)
|
|
||||||
this.armyService.update(this.army).toPromise().then()
|
this.armyService.update(this.army).toPromise().then()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user