]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix action containers deleting the wrong actions (#20430)
authorKara <lunarautomaton6@gmail.com>
Sat, 23 Sep 2023 10:53:31 +0000 (03:53 -0700)
committerGitHub <noreply@github.com>
Sat, 23 Sep 2023 10:53:31 +0000 (03:53 -0700)
Content.Shared/Actions/ActionContainerSystem.cs

index f7446ae1e61e75f91f622e7636adc98d279dfbf6..27cd8dcce688103ae4860c4f15b281152b9d5f8e 100644 (file)
@@ -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
+}