Update MapScreen.xaml.cs to not use Component.Owner (#29938)

Update MapScreen.xaml.cs

Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
Plykiya
2024-07-12 02:21:54 -07:00
committed by GitHub
parent 65ccd6e033
commit b6672f087f

View File

@@ -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);