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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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