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.
|
// 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;
|
||||||
|
|||||||
Reference in New Issue
Block a user