From 4b633fde9c84778e2817025b1d38bd2549202c52 Mon Sep 17 00:00:00 2001 From: The Canned One Date: Thu, 3 Oct 2024 12:32:50 +0200 Subject: [PATCH] Fixed IonStorms sometimes affecting the laws of the current AI and future Cyborgs and AI's, including those in subsequent rounds. --- Content.Server/Silicons/Laws/IonStormSystem.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Content.Server/Silicons/Laws/IonStormSystem.cs b/Content.Server/Silicons/Laws/IonStormSystem.cs index 637155228c..b3c36a2273 100644 --- a/Content.Server/Silicons/Laws/IonStormSystem.cs +++ b/Content.Server/Silicons/Laws/IonStormSystem.cs @@ -78,11 +78,8 @@ public sealed class IonStormSystem : EntitySystem var lawset = lawsets.Pick(_robustRandom); laws = _siliconLaw.GetLawset(lawset); } - else - { - // clone it so not modifying stations lawset - laws = laws.Clone(); - } + // clone it so not modifying stations lawset + laws = laws.Clone(); // shuffle them all if (_robustRandom.Prob(target.ShuffleChance)) -- 2.52.0