mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-06 14:46:55 +00:00
fix: code rabit suggestions
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { renderTroops } from "../../client/Utils";
|
||||
import {
|
||||
Execution,
|
||||
Game,
|
||||
@@ -145,7 +144,7 @@ export class TransportShipExecution implements Execution {
|
||||
mg.displayIncomingUnit(
|
||||
this.boat.id(),
|
||||
// TODO TranslateText
|
||||
`Boat: ${renderTroops(this.boat.troops())} ${this.attacker.displayName()}`,
|
||||
`Boat: ${this.boat.troops()} ${this.attacker.displayName()}`,
|
||||
MessageType.NAVAL_INVASION_INBOUND,
|
||||
this.targetID,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user