Fix pulling being set even if the attempt was cancelled
This commit is contained in:
@@ -127,8 +127,6 @@ namespace Content.Shared.Pulling.Components
|
||||
}
|
||||
}
|
||||
|
||||
valuePuller.Pulling = Owner;
|
||||
|
||||
// Continue with pulling process.
|
||||
|
||||
var pullAttempt = new PullAttemptMessage(pullerPhysics, _physics);
|
||||
@@ -149,6 +147,7 @@ namespace Content.Shared.Pulling.Components
|
||||
|
||||
// Pull start confirm
|
||||
|
||||
valuePuller.Pulling = Owner;
|
||||
_puller = value;
|
||||
Dirty();
|
||||
PullerPhysics = pullerPhysics;
|
||||
|
||||
Reference in New Issue
Block a user