From c50aee2f9fbb1e4a75a34298650a3190c44898c6 Mon Sep 17 00:00:00 2001 From: Vasilis Date: Tue, 13 Feb 2024 07:41:56 +0100 Subject: [PATCH] Allow inspecting ID's and Health of people behind glass (#25163) Hops will love me --- Content.Shared/Examine/ExamineSystemShared.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Examine/ExamineSystemShared.cs b/Content.Shared/Examine/ExamineSystemShared.cs index a06a4b7049..905492a65b 100644 --- a/Content.Shared/Examine/ExamineSystemShared.cs +++ b/Content.Shared/Examine/ExamineSystemShared.cs @@ -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 -- 2.52.0