Cleanups PolymorphSystem/Components/Prototypes (#23721)
* Cleanups PolymorphSystem * forgot this * Nah * Fix test --------- Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -32,7 +32,7 @@ public sealed class AddPolymorphActionCommand : IConsoleCommand
|
||||
|
||||
var polySystem = _entityManager.EntitySysManager.GetEntitySystem<PolymorphSystem>();
|
||||
|
||||
_entityManager.EnsureComponent<PolymorphableComponent>(entityUid.Value);
|
||||
polySystem.CreatePolymorphAction(args[1], entityUid.Value);
|
||||
var polymorphable = _entityManager.EnsureComponent<PolymorphableComponent>(entityUid.Value);
|
||||
polySystem.CreatePolymorphAction(args[1], (entityUid.Value, polymorphable));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user