Fix the puller not being sent to the client in pullable component (#3228)

This commit is contained in:
DrSmugleaf
2021-02-16 02:52:25 +01:00
committed by GitHub
parent 9f408945de
commit 237e40e60f

View File

@@ -49,6 +49,7 @@ namespace Content.Shared.GameObjects.Components.Pulling
var oldPullerPhysics = _pullerPhysics;
_puller = null;
Dirty();
_pullerPhysics = null;
if (_physics != null)
@@ -130,6 +131,7 @@ namespace Content.Shared.GameObjects.Components.Pulling
// Pull start confirm
_puller = value;
Dirty();
_pullerPhysics = valuePhysics;
_physics.EnsureController<PullController>().Manager = this;