diff --git a/src/client/hud/layers/ActionableEvents.ts b/src/client/hud/layers/ActionableEvents.ts index 3782dd2aa..ae2c604a2 100644 --- a/src/client/hud/layers/ActionableEvents.ts +++ b/src/client/hud/layers/ActionableEvents.ts @@ -120,10 +120,14 @@ export class ActionableEvents extends LitElement implements Controller { (event.duration === undefined || this.game.ticks() - event.createdAt < event.duration) && (event.type !== MessageType.ALLIANCE_REQUEST || - // We remove Alliance Requests if the requestor is no longer requesting an alliance with us. - ( + // We remove Alliance Requests if the requestor is dead. + (( this.game.playerBySmallID(event.requestorID) as PlayerView - ).isRequestingAllianceWith(this.game.myPlayer() as PlayerView)), + ).isAlive() && + // We remove Alliance Requests if the requestor is no longer requesting an alliance with us. + ( + this.game.playerBySmallID(event.requestorID) as PlayerView + ).isRequestingAllianceWith(this.game.myPlayer() as PlayerView))), ); if (this.events.length !== remainingEvents.length) {