diff --git a/src/core/game/UnitImpl.ts b/src/core/game/UnitImpl.ts index c4f3c00e0..c6b8f68da 100644 --- a/src/core/game/UnitImpl.ts +++ b/src/core/game/UnitImpl.ts @@ -75,6 +75,7 @@ export class UnitImpl implements Unit { case UnitType.DefensePost: case UnitType.SAMLauncher: case UnitType.City: + case UnitType.Factory: this.mg.stats().unitBuild(_owner, this._type); } } @@ -193,6 +194,7 @@ export class UnitImpl implements Unit { case UnitType.DefensePost: case UnitType.SAMLauncher: case UnitType.City: + case UnitType.Factory: this.mg.stats().unitCapture(newOwner, this._type); this.mg.stats().unitLose(this._owner, this._type); break;