From 2d6dccbbd44f77723dda62a7174199443eaf6697 Mon Sep 17 00:00:00 2001 From: forest2001 <41653574+realforest2001@users.noreply.github.com> Date: Tue, 1 Aug 2023 23:03:03 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: harryob --- code/game/objects/items/devices/motion_detector.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/devices/motion_detector.dm b/code/game/objects/items/devices/motion_detector.dm index ee89b0fad2b1..dd0c5d45eda4 100644 --- a/code/game/objects/items/devices/motion_detector.dm +++ b/code/game/objects/items/devices/motion_detector.dm @@ -231,8 +231,9 @@ for(var/mob/hologram/holo as anything in GLOB.hologram_list) if(!holo.motion_sensed) - return - if(holo.z != cur_turf.z || !(range_bounds.contains_atom(holo))) continue + continue + if(holo.z != cur_turf.z || !(range_bounds.contains_atom(holo))) + continue ping_count++ if(human_user) show_blip(human_user, holo, "queen_eye")