From cb1d57d38e4c8d4f5bf2c068c6cd335734fb5f2b Mon Sep 17 00:00:00 2001 From: bijx Date: Thu, 8 Jan 2026 16:51:15 -0500 Subject: [PATCH] revert changes from other PR --- src/client/graphics/layers/SAMRadiusLayer.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/client/graphics/layers/SAMRadiusLayer.ts b/src/client/graphics/layers/SAMRadiusLayer.ts index e305569e7..8b2af33ec 100644 --- a/src/client/graphics/layers/SAMRadiusLayer.ts +++ b/src/client/graphics/layers/SAMRadiusLayer.ts @@ -40,10 +40,7 @@ export class SAMRadiusLayer implements Layer { private handleToggleStructure(e: ToggleStructureEvent) { const types = e.structureTypes; - this.hoveredShow = - !!types && - (types.indexOf(UnitType.SAMLauncher) !== -1 || - types.indexOf(UnitType.City) !== -1); + this.hoveredShow = !!types && types.indexOf(UnitType.SAMLauncher) !== -1; this.updateVisibility(); } @@ -86,7 +83,6 @@ export class SAMRadiusLayer implements Layer { this.ghostShow = this.uiState.ghostStructure === UnitType.MissileSilo || this.uiState.ghostStructure === UnitType.SAMLauncher || - this.uiState.ghostStructure === UnitType.City || this.uiState.ghostStructure === UnitType.AtomBomb || this.uiState.ghostStructure === UnitType.HydrogenBomb; this.updateVisibility();