From: Centronias Date: Wed, 27 Aug 2025 14:56:13 +0000 (-0700) Subject: Fixes Diona rooting not working since event based weightlessness refactor (#39893) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=973689425c78988ec338e940ca545089d738c4d5;p=space-station-14.git Fixes Diona rooting not working since event based weightlessness refactor (#39893) * Fixes Diona rooting not working since event based weightlessness refactor Caused by #37971 * pr comments --- diff --git a/Content.Shared/Rootable/SharedRootableSystem.cs b/Content.Shared/Rootable/SharedRootableSystem.cs index 9165c3c111..d646c7d97c 100644 --- a/Content.Shared/Rootable/SharedRootableSystem.cs +++ b/Content.Shared/Rootable/SharedRootableSystem.cs @@ -104,6 +104,7 @@ public abstract class SharedRootableSystem : EntitySystem entity.Comp.Rooted = !entity.Comp.Rooted; _movementSpeedModifier.RefreshMovementSpeedModifiers(entity); + _gravity.RefreshWeightless(entity.Owner); Dirty(entity); if (entity.Comp.Rooted) @@ -119,7 +120,6 @@ public abstract class SharedRootableSystem : EntitySystem { _alerts.ClearAlert(entity, entity.Comp.RootedAlert); } - _audio.PlayPredicted(entity.Comp.RootSound, entity.Owner.ToCoordinates(), entity); return true;