Remove Explicit GridId References (#8315)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -105,7 +105,7 @@ public sealed class EyeLerpingSystem : EntitySystem
|
||||
if (!TryComp(uid, out TransformComponent? transform)
|
||||
|| !TryComp(uid, out EyeComponent? eye)
|
||||
|| eye.Eye == null
|
||||
|| !_mapManager.TryGetGrid(transform.GridID, out var grid))
|
||||
|| !_mapManager.TryGetGrid(transform.GridEntityId, out var grid))
|
||||
{
|
||||
_toRemove.Add(uid);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user