From d6ef20961e44ed62a52f079a76bbb06e3158ae86 Mon Sep 17 00:00:00 2001 From: Scott Anderson <662325+scottanderson@users.noreply.github.com> Date: Sun, 17 Aug 2025 22:23:23 -0400 Subject: [PATCH] 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 --- src/core/game/PlayerImpl.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/game/PlayerImpl.ts b/src/core/game/PlayerImpl.ts index fcd57f9cc..d50fb80ae 100644 --- a/src/core/game/PlayerImpl.ts +++ b/src/core/game/PlayerImpl.ts @@ -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, }); }