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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

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);
}