Use System (#1622)

yes this is a system

i dont know why it's not better named

(cherry picked from commit d5866a64e9884a2dd369aa3ab2133503063c08dc)
This commit is contained in:
sleepyyapril
2025-01-20 20:44:58 -04:00
committed by Spatison
parent ef4182db5d
commit cd82693663

View File

@@ -134,7 +134,7 @@ namespace Content.Server.Administration.Commands
return true; //Fuck it, nuclear option for not Cluwning an IPC because that causes a crash that SOMEHOW ignores null checks.
if (entityManager.HasComponent<EncryptionKeyHolderComponent>(target))
{
var encryption = new InternalEncryptionKeySpawner();
var encryption = entityManager.System<InternalEncryptionKeySpawner>();
encryption.TryInsertEncryptionKey(target, startingGear, entityManager);
}
return true;