Fix the map renderer not rendering entities (#20082)

This commit is contained in:
DrSmugleaf
2023-09-12 14:39:41 -07:00
committed by Debug
parent eada7cdb1d
commit e39f3d2019

View File

@@ -87,7 +87,7 @@ namespace Content.MapRenderer.Painters
}
var transform = _sEntityManager.GetComponent<TransformComponent>(entity);
if (_cMapManager.TryGetGrid(transform.GridUid, out var grid))
if (_sMapManager.TryGetGrid(transform.GridUid, out var grid))
{
var position = transform.LocalPosition;