Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -111,7 +111,7 @@ namespace Content.Shared.Examine
|
||||
if (!examinerComp.CheckInRangeUnOccluded)
|
||||
return true;
|
||||
|
||||
if (EntityManager.GetComponent<TransformComponent>(examiner).MapID != target.MapId)
|
||||
if (Comp<TransformComponent>(examiner).MapID != target.MapId)
|
||||
return false;
|
||||
|
||||
// Do target InRangeUnoccluded which has different checks.
|
||||
|
||||
Reference in New Issue
Block a user