]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Allow inspecting ID's and Health of people behind glass (#25163)
authorVasilis <vasilis@pikachu.systems>
Tue, 13 Feb 2024 06:41:56 +0000 (07:41 +0100)
committerGitHub <noreply@github.com>
Tue, 13 Feb 2024 06:41:56 +0000 (17:41 +1100)
Hops will love me

Content.Shared/Examine/ExamineSystemShared.cs

index a06a4b7049934f998db95ec76ca4bc88e2843b18..905492a65ba3ce19ba5c91b099cbd4060d82d43b 100644 (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