Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: harryob <[email protected]>
  • Loading branch information
realforest2001 and harryob authored Aug 1, 2023
1 parent c242395 commit 2d6dccb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/game/objects/items/devices/motion_detector.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 2d6dccb

Please sign in to comment.