Skip to content

Commit

Permalink
please
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkmajia committed Sep 16, 2024
1 parent 713c462 commit 12520e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Server/Goobstation/Magic/ImmovableVoidRodSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -31,7 +32,7 @@ public override void Update(float frameTime)
return;
}

if (!_map.TryGetGrid(trans.GridUid, out var grid))
if (!TryComp<MapGridComponent>(trans.GridUid, out var grid))
continue;

var tileref = grid.GetTileRef(trans.Coordinates);
Expand Down

0 comments on commit 12520e7

Please sign in to comment.