Fix guardian error (#10857)

This commit is contained in:
Leon Friedrich
2022-08-26 01:35:58 +12:00
committed by GitHub
parent d84d7ed9e3
commit 685b82e14e

View File

@@ -69,6 +69,9 @@ namespace Content.Server.Guardian
if (!TryComp<GuardianHostComponent>(host, out var hostComponent)) return;
if (LifeStage(host) >= EntityLifeStage.MapInitialized)
return;
RetractGuardian(hostComponent, component);
}