This commit is contained in:
Ghommie
2020-01-23 04:43:24 +01:00
parent 5a8c22fef2
commit 762064edc0

View File

@@ -11,6 +11,7 @@
/mob/living/carbon/human/AltRangedAttack(atom/A, params)
if(isturf(A) || incapacitated()) // pretty annoying to wave your fist at floors and walls. And useless.
return TRUE
changeNext_move(CLICK_CD_RANGE)
var/list/target_viewers = viewers(11, A) //Byond proc, doesn't check for blindness.
if(!(src in target_viewers)) //click catcher issuing calls for out of view objects.
return TRUE