]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix puller being improperly unset when pulling stops. (#26312)
authornikthechampiongr <32041239+nikthechampiongr@users.noreply.github.com>
Fri, 22 Mar 2024 01:59:18 +0000 (03:59 +0200)
committerGitHub <noreply@github.com>
Fri, 22 Mar 2024 01:59:18 +0000 (12:59 +1100)
commita6c018d755ee4f35fb8e3ab597fa90c7592fe920
tree4564ace8ec5bedb79d6c66e01b705087aab6d79b
parentae2c1c58b6ee2aba7672de4b146af0743875fcee
Fix puller being improperly unset when pulling stops. (#26312)

Fix puller not being improperly unset on PullableComponent while being unpulled.

When unpulled, the pullableComp has its puller field set to null after the message signifying the pulling has stopped
has been sent. Since the component has a field to determine whether its owner is being pulled which is determined by
the puller field, systems listening on the event would think that the owner of the component was still being pulled.
Content.Shared/Movement/Pulling/Systems/PullingSystem.cs