fix eslint failure (#1852)

## Description:

Fix the failing eslint check after cherry-picking v25 changes into main.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
This commit is contained in:
Scott Anderson
2025-08-17 22:23:23 -04:00
committed by GitHub
parent 0f760f872a
commit d6ef20961e
+4 -4
View File
@@ -698,10 +698,10 @@ export class PlayerImpl implements Player {
if (embargo !== undefined && !embargo.isTemporary) return;
this.mg.addUpdate({
type: GameUpdateType.EmbargoEvent,
embargoedID: other.smallID(),
event: "start",
playerID: this.smallID(),
embargoedID: other.smallID(),
type: GameUpdateType.EmbargoEvent,
});
this.embargoes.set(other.id(), {
@@ -714,10 +714,10 @@ export class PlayerImpl implements Player {
stopEmbargo(other: Player): void {
this.embargoes.delete(other.id());
this.mg.addUpdate({
type: GameUpdateType.EmbargoEvent,
embargoedID: other.smallID(),
event: "stop",
playerID: this.smallID(),
embargoedID: other.smallID(),
type: GameUpdateType.EmbargoEvent,
});
}