Fix pulling being set even if the attempt was cancelled

This commit is contained in:
Kara D
2021-09-30 13:07:19 -07:00
parent 6451b339c2
commit 400a6277fc

View File

@@ -127,8 +127,6 @@ namespace Content.Shared.Pulling.Components
} }
} }
valuePuller.Pulling = Owner;
// Continue with pulling process. // Continue with pulling process.
var pullAttempt = new PullAttemptMessage(pullerPhysics, _physics); var pullAttempt = new PullAttemptMessage(pullerPhysics, _physics);
@@ -149,6 +147,7 @@ namespace Content.Shared.Pulling.Components
// Pull start confirm // Pull start confirm
valuePuller.Pulling = Owner;
_puller = value; _puller = value;
Dirty(); Dirty();
PullerPhysics = pullerPhysics; PullerPhysics = pullerPhysics;