Fix guardian error (#10857)
This commit is contained in:
@@ -69,6 +69,9 @@ namespace Content.Server.Guardian
|
|||||||
|
|
||||||
if (!TryComp<GuardianHostComponent>(host, out var hostComponent)) return;
|
if (!TryComp<GuardianHostComponent>(host, out var hostComponent)) return;
|
||||||
|
|
||||||
|
if (LifeStage(host) >= EntityLifeStage.MapInitialized)
|
||||||
|
return;
|
||||||
|
|
||||||
RetractGuardian(hostComponent, component);
|
RetractGuardian(hostComponent, component);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user