Fix pulling being set even if the attempt was cancelled
This commit is contained in:
parent
6451b339c2
commit
400a6277fc
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue