]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix pulling a new entity when already pulling an entity (#26499)
authorShadowCommander <shadowjjt@gmail.com>
Sat, 13 Apr 2024 15:36:05 +0000 (08:36 -0700)
committerGitHub <noreply@github.com>
Sat, 13 Apr 2024 15:36:05 +0000 (11:36 -0400)
commit037a7d7d3d53a623f70a07908299e8fc4df1b4a5
tree1d94fd4fa759184ab0ddeaec97ed27fa9166110a
parenteeb460fb2956381b44ead42f0d435ade11ec0ba3
Fix pulling a new entity when already pulling an entity (#26499)

Fix pulling when already pulling

The TryStopPull were failing due to wrong arguments provided.
Replacing the virtual item in hand with a different pull was failing due to the hand not being cleared.

Fix stop pulling checks that had the wrong variables provided.

VirtualItems are already queue deleted at the end of HandleEntityRemoved.
Content.Server/Hands/Systems/HandsSystem.cs
Content.Shared/Movement/Pulling/Systems/PullingSystem.cs