Fix action containers deleting the wrong actions (#20430)

This commit is contained in:
Kara
2023-09-23 03:53:31 -07:00
committed by GitHub
parent 9b55fbd0be
commit dae18c981f

View File

@@ -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;
} }
} }