Skip to content

Commit

Permalink
changed the proc (#28249)
Browse files Browse the repository at this point in the history
Co-authored-by: Toastical <[email protected]>
  • Loading branch information
Toastical and Toastical authored Feb 24, 2025
1 parent 106c422 commit 72bf019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/rpd.dm
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
to_chat(user, "<span class='notice'>ERROR: \The [T] is out of [src]'s range!</span>")
return

if(!(user in viewers(12, T))) // Checks if the user can see the target turf
if(!(user in hearers(12, T))) // Checks if user can hear the target turf, cause viewers doesnt work for it.
to_chat(user, "<span class='warning'>[src] needs full visibility to determine the dispensing location.</span>")
playsound(src, 'sound/machines/synth_no.ogg', 50, TRUE)
return
Expand Down

0 comments on commit 72bf019

Please sign in to comment.