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:
@@ -311,7 +311,7 @@ public sealed partial class MapScreen : BoxContainer
|
|||||||
};
|
};
|
||||||
|
|
||||||
_mapHeadings.Add(mapComp.MapId, gridContents);
|
_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);
|
_entManager.TryGetComponent(grid.Owner, out IFFComponent? iffComp);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user