Skip to content

Commit

Permalink
whisperer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Git-Nivrak committed Jul 5, 2024
1 parent 7c5af0a commit d65d97f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
var/turf/target_turf = get_turf(target_atom)
if(!target_turf)
return

if(!(target_turf in view(10, owner)))
to_chat(owner, SPAN_XENONOTICE("We must have a direct line of sight!"))
return

/// Check if the target is a resin door and open or close it
if(istype(target_atom, /obj/structure/mineral_door/resin))
Expand Down

0 comments on commit d65d97f

Please sign in to comment.