diff --git a/Content.Server/Administration/Commands/SetOutfitCommand.cs b/Content.Server/Administration/Commands/SetOutfitCommand.cs index c08be1d1438..02d61762b1d 100644 --- a/Content.Server/Administration/Commands/SetOutfitCommand.cs +++ b/Content.Server/Administration/Commands/SetOutfitCommand.cs @@ -168,7 +168,7 @@ public static bool SetOutfit(EntityUid target, string gear, IEntityManager entit if (entityManager.HasComponent(target)) { - var encryption = new InternalEncryptionKeySpawner(); + var encryption = entityManager.System(); encryption.TryInsertEncryptionKey(target, startingGear, entityManager); } return true;