From: Vasilis Date: Tue, 13 Feb 2024 06:41:56 +0000 (+0100) Subject: Allow inspecting ID's and Health of people behind glass (#25163) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=c50aee2f9fbb1e4a75a34298650a3190c44898c6;p=space-station-14.git Allow inspecting ID's and Health of people behind glass (#25163) Hops will love me --- 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