From 0861bbfad512a50bb6d4a8fb66aa2448a027ce4a Mon Sep 17 00:00:00 2001 From: bibizu <104801209+bibizu@users.noreply.github.com> Date: Tue, 9 Dec 2025 19:26:12 -0500 Subject: [PATCH] Enhance: missile silo shows SAM previews (#2578) ## Description: Missile silos should also show SAM previews for placement consideration. ## 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 ## Please put your Discord username so you can be contacted if a bug or regression is found: bibizu --- src/client/graphics/layers/SAMRadiusLayer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/graphics/layers/SAMRadiusLayer.ts b/src/client/graphics/layers/SAMRadiusLayer.ts index 72fac0db9..e790e81d7 100644 --- a/src/client/graphics/layers/SAMRadiusLayer.ts +++ b/src/client/graphics/layers/SAMRadiusLayer.ts @@ -107,8 +107,9 @@ export class SAMRadiusLayer implements Layer { } } - // show when in ghost mode for sam/atom/hydrogen + // show when in ghost mode for silo/sam/atom/hydrogen this.ghostShow = + this.uiState.ghostStructure === UnitType.MissileSilo || this.uiState.ghostStructure === UnitType.SAMLauncher || this.uiState.ghostStructure === UnitType.AtomBomb || this.uiState.ghostStructure === UnitType.HydrogenBomb;