mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
Fix pulling crash on round restart
This commit is contained in:
@@ -69,7 +69,9 @@ namespace Content.Shared.Pulling.Components
|
||||
var message = new PullStoppedMessage(oldPullerPhysics, _physics);
|
||||
|
||||
eventBus.RaiseLocalEvent(oldPuller.Uid, message, broadcast: false);
|
||||
eventBus.RaiseLocalEvent(Owner.Uid, message);
|
||||
|
||||
if (Owner.LifeStage <= EntityLifeStage.MapInitialized)
|
||||
eventBus.RaiseLocalEvent(Owner.Uid, message);
|
||||
|
||||
_physics.WakeBody();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user