fix: translate in core

This commit is contained in:
Rj Manhas
2025-11-11 17:21:50 -07:00
parent 16ac6a3fe7
commit 5c741d0dec
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -275,9 +275,11 @@ export class UnitImpl implements Unit {
const targetOwner = this.mg.owner(targetTile);
if (targetOwner.isPlayer() && targetOwner !== this._owner) {
this.mg.displayMessage(
`${this._owner.displayName()} boat was destroyed`,
"events_display.enemy_boat_destroyed",
MessageType.UNIT_DESTROYED,
targetOwner.id(),
undefined,
{ name: this._owner.displayName() },
);
}
}