From b6672f087f8acaea3229eec7fbd91f6b56fd38f5 Mon Sep 17 00:00:00 2001 From: Plykiya <58439124+Plykiya@users.noreply.github.com> Date: Fri, 12 Jul 2024 02:21:54 -0700 Subject: [PATCH] Update MapScreen.xaml.cs to not use Component.Owner (#29938) Update MapScreen.xaml.cs Co-authored-by: plykiya --- Content.Client/Shuttles/UI/MapScreen.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);