mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user