Remove ability to start pulling while inside a container (#24235)

* why was this even possible

* what coding at 6am does to a mf
This commit is contained in:
GreyMario
2024-01-20 15:40:01 -08:00
committed by GitHub
parent 9efa01d712
commit 1085dbef65

View File

@@ -59,7 +59,7 @@ namespace Content.Shared.Pulling
return false;
}
if (!_containerSystem.IsInSameOrNoContainer(puller, pulled))
if(_containerSystem.IsEntityInContainer(puller) || _containerSystem.IsEntityInContainer(pulled))
{
return false;
}