From e93cab339219601b442ebb91d5c22244f992a5c5 Mon Sep 17 00:00:00 2001 From: Ryan <7389646+ryanbarlow97@users.noreply.github.com> Date: Tue, 10 Feb 2026 00:09:48 +0000 Subject: [PATCH] sam missile immunity (#3167) ## Description: added sam missile immunity (was missing from the immunity list) ## 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: w.o.n --- src/core/execution/NukeExecution.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/execution/NukeExecution.ts b/src/core/execution/NukeExecution.ts index 68db6bdf4..d35be7a39 100644 --- a/src/core/execution/NukeExecution.ts +++ b/src/core/execution/NukeExecution.ts @@ -310,7 +310,8 @@ export class NukeExecution implements Execution { unit.type() !== UnitType.AtomBomb && unit.type() !== UnitType.HydrogenBomb && unit.type() !== UnitType.MIRVWarhead && - unit.type() !== UnitType.MIRV + unit.type() !== UnitType.MIRV && + unit.type() !== UnitType.SAMMissile ) { if (this.mg.euclideanDistSquared(this.dst, unit.tile()) < outer2) { unit.delete(true, this.player);