From fb380458294daca3a9dd25bb8f9413085f84c357 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Wed, 2 Jul 2025 08:41:13 -0700 Subject: [PATCH] fix alliance expired message (#1323) ## Description: The alliance expired update wasn't triggering the method. ## 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 - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: DISCORD_USERNAME --- src/client/graphics/layers/EventsDisplay.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/graphics/layers/EventsDisplay.ts b/src/client/graphics/layers/EventsDisplay.ts index f05409f7d..316b5f6ae 100644 --- a/src/client/graphics/layers/EventsDisplay.ts +++ b/src/client/graphics/layers/EventsDisplay.ts @@ -152,6 +152,7 @@ export class EventsDisplay extends LitElement implements Layer { [GameUpdateType.TargetPlayer, (u) => this.onTargetPlayerEvent(u)], [GameUpdateType.Emoji, (u) => this.onEmojiMessageEvent(u)], [GameUpdateType.UnitIncoming, (u) => this.onUnitIncomingEvent(u)], + [GameUpdateType.AllianceExpired, (u) => this.onAllianceExpiredEvent(u)], ]); constructor() {