diff --git a/Content.Server/Goobstation/Magic/ImmovableVoidRodSystem.cs b/Content.Server/Goobstation/Magic/ImmovableVoidRodSystem.cs index c378419540be3e..97a5fca5da90e4 100644 --- a/Content.Server/Goobstation/Magic/ImmovableVoidRodSystem.cs +++ b/Content.Server/Goobstation/Magic/ImmovableVoidRodSystem.cs @@ -4,6 +4,7 @@ using Content.Shared.Stunnable; using Content.Shared.Tag; using Robust.Shared.Map; +using Robust.Shared.Map.Components; using Robust.Shared.Physics.Events; using Robust.Shared.Prototypes; @@ -31,7 +32,7 @@ public override void Update(float frameTime) return; } - if (!_map.TryGetGrid(trans.GridUid, out var grid)) + if (!TryComp(trans.GridUid, out var grid)) continue; var tileref = grid.GetTileRef(trans.Coordinates);