Fix action containers deleting the wrong actions (#20430)
This commit is contained in:
@@ -176,7 +176,7 @@ public sealed class ActionContainerSystem : EntitySystem
|
|||||||
{
|
{
|
||||||
// TODO Actions
|
// TODO Actions
|
||||||
// log an error or warning here once gibbing code is fixed.
|
// log an error or warning here once gibbing code is fixed.
|
||||||
QueueDel(uid);
|
QueueDel(args.Entity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -211,4 +211,4 @@ public readonly struct ActionRemovedEvent
|
|||||||
Action = action;
|
Action = action;
|
||||||
Component = component;
|
Component = component;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user