Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -51,8 +51,8 @@ public sealed class RandomHumanoidSystem : EntitySystem
|
||||
foreach (var entry in prototype.Components.Values)
|
||||
{
|
||||
var comp = (Component)_serialization.CreateCopy(entry.Component, notNullableOverride: true);
|
||||
EntityManager.RemoveComponent(humanoid, comp.GetType());
|
||||
EntityManager.AddComponent(humanoid, comp);
|
||||
RemComp(humanoid, comp.GetType());
|
||||
AddComp(humanoid, comp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user