From: The Canned One Date: Thu, 3 Oct 2024 10:32:50 +0000 (+0200) Subject: Fixed IonStorms sometimes affecting the laws of the current AI and future Cyborgs... X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=4b633fde9c84778e2817025b1d38bd2549202c52;p=space-station-14.git Fixed IonStorms sometimes affecting the laws of the current AI and future Cyborgs and AI's, including those in subsequent rounds. --- 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))