Allow inspecting ID's and Health of people behind glass (#25163)

Hops will love me
This commit is contained in:
Vasilis
2024-02-13 07:41:56 +01:00
committed by GitHub
parent ac159a1400
commit c50aee2f9f

View File

@@ -57,7 +57,7 @@ namespace Content.Shared.Examine
if (MobStateSystem.IsIncapacitated(examiner)) if (MobStateSystem.IsIncapacitated(examiner))
return false; return false;
if (!_interactionSystem.InRangeUnobstructed(examiner, entity, ExamineDetailsRange)) if (!InRangeUnOccluded(examiner, entity, ExamineDetailsRange))
return false; return false;
// Is the target hidden in a opaque locker or something? Currently this check allows players to examine // Is the target hidden in a opaque locker or something? Currently this check allows players to examine