From 685b82e14e5755703ae41c37ffabc3cc1005e9b8 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Fri, 26 Aug 2022 01:35:58 +1200 Subject: [PATCH] Fix guardian error (#10857) --- Content.Server/Guardian/GuardianSystem.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Content.Server/Guardian/GuardianSystem.cs b/Content.Server/Guardian/GuardianSystem.cs index 45a521fe6f..02ad50774d 100644 --- a/Content.Server/Guardian/GuardianSystem.cs +++ b/Content.Server/Guardian/GuardianSystem.cs @@ -69,6 +69,9 @@ namespace Content.Server.Guardian if (!TryComp(host, out var hostComponent)) return; + if (LifeStage(host) >= EntityLifeStage.MapInitialized) + return; + RetractGuardian(hostComponent, component); }