From 21e42ce461cb92f29893921a78a0ad8cd2bb1669 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Wed, 27 May 2026 16:07:38 -0700 Subject: [PATCH] fix(render): only fire conquest FX for the local player's conquests Skip ConquestEvent updates whose conquerorId isn't the local player so the gold popup + sword sprite only triggers on your own captures. --- src/client/view/GameView.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/view/GameView.ts b/src/client/view/GameView.ts index 92a62538d..2103db2f6 100644 --- a/src/client/view/GameView.ts +++ b/src/client/view/GameView.ts @@ -534,7 +534,9 @@ export class GameView implements GameMap { reachedTarget: u.reachedTarget, }); } + const myID = this._myPlayer?.id(); for (const c of gu.updates[GameUpdateType.ConquestEvent] ?? []) { + if (c.conquerorId !== myID) continue; const conquered = this._players.get(c.conqueredId); if (conquered === undefined) continue; const loc = conquered.nameLocation();