Remove Explicit GridId References (#8315)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Content.Server.Power.EntitySystems
|
||||
return;
|
||||
|
||||
var transform = Transform(uid);
|
||||
if (!_mapManager.TryGetGrid(transform.GridID, out var grid))
|
||||
if (!_mapManager.TryGetGrid(transform.GridEntityId, out var grid))
|
||||
return;
|
||||
|
||||
var mask = WireVisDirFlags.None;
|
||||
|
||||
Reference in New Issue
Block a user