From 12520e7bca15304419c203e1d0d4f933c838da68 Mon Sep 17 00:00:00 2001 From: Darkmajia Date: Mon, 16 Sep 2024 17:46:52 +0100 Subject: [PATCH] please --- Content.Server/Goobstation/Magic/ImmovableVoidRodSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);