From cd82693663d6980f855571fe5b672dd1350a3afe Mon Sep 17 00:00:00 2001 From: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com> Date: Mon, 20 Jan 2025 20:44:58 -0400 Subject: [PATCH] Use System (#1622) yes this is a system i dont know why it's not better named (cherry picked from commit d5866a64e9884a2dd369aa3ab2133503063c08dc) --- Content.Server/Administration/Commands/SetOutfitCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Administration/Commands/SetOutfitCommand.cs b/Content.Server/Administration/Commands/SetOutfitCommand.cs index e19c5b72fa..a7427d708c 100644 --- a/Content.Server/Administration/Commands/SetOutfitCommand.cs +++ b/Content.Server/Administration/Commands/SetOutfitCommand.cs @@ -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(target)) { - var encryption = new InternalEncryptionKeySpawner(); + var encryption = entityManager.System(); encryption.TryInsertEncryptionKey(target, startingGear, entityManager); } return true;