From: Plykiya <58439124+Plykiya@users.noreply.github.com> Date: Fri, 12 Jul 2024 09:20:41 +0000 (-0700) Subject: Update RCDSystem.cs to not use Component.Owner (#29940) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=65ccd6e033c056c2b46f70be3e459be402344713;p=space-station-14.git Update RCDSystem.cs to not use Component.Owner (#29940) Update RCDSystem.cs Co-authored-by: plykiya --- diff --git a/Content.Shared/RCD/Systems/RCDSystem.cs b/Content.Shared/RCD/Systems/RCDSystem.cs index 974755f000..62ad2f3be0 100644 --- a/Content.Shared/RCD/Systems/RCDSystem.cs +++ b/Content.Shared/RCD/Systems/RCDSystem.cs @@ -572,8 +572,6 @@ public class RCDSystem : EntitySystem return false; } - gridUid = mapGrid.Owner; - var tile = _mapSystem.GetTileRef(gridUid.Value, mapGrid, location); var position = _mapSystem.TileIndicesFor(gridUid.Value, mapGrid, location); mapGridData = new MapGridData(gridUid.Value, mapGrid, location, tile, position);