Fix pulling crash on round restart

This commit is contained in:
metalgearsloth
2021-09-27 15:32:53 +10:00
parent 8479c626d2
commit 2b68449328

View File

@@ -69,6 +69,8 @@ namespace Content.Shared.Pulling.Components
var message = new PullStoppedMessage(oldPullerPhysics, _physics);
eventBus.RaiseLocalEvent(oldPuller.Uid, message, broadcast: false);
if (Owner.LifeStage <= EntityLifeStage.MapInitialized)
eventBus.RaiseLocalEvent(Owner.Uid, message);
_physics.WakeBody();