From: Kara Date: Sat, 23 Sep 2023 10:53:31 +0000 (-0700) Subject: Fix action containers deleting the wrong actions (#20430) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=dae18c981f672bc758f3ca5e674bd2f971f22991;p=space-station-14.git Fix action containers deleting the wrong actions (#20430) --- diff --git a/Content.Shared/Actions/ActionContainerSystem.cs b/Content.Shared/Actions/ActionContainerSystem.cs index f7446ae1e6..27cd8dcce6 100644 --- a/Content.Shared/Actions/ActionContainerSystem.cs +++ b/Content.Shared/Actions/ActionContainerSystem.cs @@ -176,7 +176,7 @@ public sealed class ActionContainerSystem : EntitySystem { // TODO Actions // 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; Component = component; } -} \ No newline at end of file +}