Skip to content

Commit

Permalink
Update MapScreen.xaml.cs to not use Component.Owner (space-wizards#29938
Browse files Browse the repository at this point in the history
)

Update MapScreen.xaml.cs

Co-authored-by: plykiya <plykiya@protonmail.com>
  • Loading branch information
2 people authored and aspiringLich committed Jul 21, 2024
1 parent 0f0027f commit cab3234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Client/Shuttles/UI/MapScreen.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ private void RebuildMapObjects()
};

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

Expand Down

0 comments on commit cab3234

Please sign in to comment.