From 1085dbef6524ee8ba7c901459dcea8abf1f1993a Mon Sep 17 00:00:00 2001 From: GreyMario Date: Sat, 20 Jan 2024 15:40:01 -0800 Subject: [PATCH] Remove ability to start pulling while inside a container (#24235) * why was this even possible * what coding at 6am does to a mf --- Content.Shared/Pulling/Systems/SharedPullingSystem.Actions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Pulling/Systems/SharedPullingSystem.Actions.cs b/Content.Shared/Pulling/Systems/SharedPullingSystem.Actions.cs index b3f9c0d1c0..1e2bb90c61 100644 --- a/Content.Shared/Pulling/Systems/SharedPullingSystem.Actions.cs +++ b/Content.Shared/Pulling/Systems/SharedPullingSystem.Actions.cs @@ -59,7 +59,7 @@ namespace Content.Shared.Pulling return false; } - if (!_containerSystem.IsInSameOrNoContainer(puller, pulled)) + if(_containerSystem.IsEntityInContainer(puller) || _containerSystem.IsEntityInContainer(pulled)) { return false; } -- 2.51.2