From d475d9feee9488cc3cd44125d3630fefd56b3fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Schr=C3=B6dinger?= <132720404+Schrodinger71@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:32:08 +0300 Subject: [PATCH] Update SiliconLawSystem.cs --- Content.Server/Silicons/Laws/SiliconLawSystem.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Server/Silicons/Laws/SiliconLawSystem.cs b/Content.Server/Silicons/Laws/SiliconLawSystem.cs index eaac0f8ea6f..8b10517efa1 100644 --- a/Content.Server/Silicons/Laws/SiliconLawSystem.cs +++ b/Content.Server/Silicons/Laws/SiliconLawSystem.cs @@ -278,6 +278,7 @@ public void SetLaws(List newLaws, EntityUid target) { if (!TryComp(target, out var component)) return; + if (component.Lawset == null) component.Lawset = new SiliconLawset();