From: Plykiya <58439124+Plykiya@users.noreply.github.com> Date: Fri, 12 Jul 2024 09:21:54 +0000 (-0700) Subject: Update MapScreen.xaml.cs to not use Component.Owner (#29938) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=b6672f087f8acaea3229eec7fbd91f6b56fd38f5;p=space-station-14.git Update MapScreen.xaml.cs to not use Component.Owner (#29938) Update MapScreen.xaml.cs Co-authored-by: plykiya --- diff --git a/Content.Client/Shuttles/UI/MapScreen.xaml.cs b/Content.Client/Shuttles/UI/MapScreen.xaml.cs index 489dbc8c90..0d7df38b91 100644 --- a/Content.Client/Shuttles/UI/MapScreen.xaml.cs +++ b/Content.Client/Shuttles/UI/MapScreen.xaml.cs @@ -311,7 +311,7 @@ public sealed partial class MapScreen : BoxContainer }; _mapHeadings.Add(mapComp.MapId, gridContents); - foreach (var grid in _mapManager.GetAllMapGrids(mapComp.MapId)) + foreach (var grid in _mapManager.GetAllGrids(mapComp.MapId)) { _entManager.TryGetComponent(grid.Owner, out IFFComponent? iffComp);