Content ecs containers (#22484)
This commit is contained in:
@@ -158,7 +158,7 @@ public sealed class ClusterGrenadeSystem : EntitySystem
|
||||
grenade = component.GrenadesContainer.ContainedEntities[0];
|
||||
|
||||
// This shouldn't happen but you never know.
|
||||
if (!component.GrenadesContainer.Remove(grenade))
|
||||
if (!_containerSystem.Remove(grenade, component.GrenadesContainer))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user