Merge pull request #12985 from Citadel-Station-13/silicons-patch-64

okay so no-clickdelay telekinetic sharp-object-throwing is not okay.
This commit is contained in:
Lin
2020-07-31 14:27:14 -05:00
committed by GitHub
+2 -2
View File
@@ -123,7 +123,7 @@
. = ..()
if(!target || !user)
return
if(!user.CheckActionCooldown())
if(!user.CheckActionCooldown(CLICK_CD_MELEE))
return
if(!focus)
focus_object(target)
@@ -146,7 +146,7 @@
else
apply_focus_overlay()
focus.throw_at(target, 10, 1,user)
user.DelayNextAction(immediate = FALSE)
user.DelayNextAction(considered_action = TRUE, flush = TRUE)
update_icon()
/proc/tkMaxRangeCheck(mob/user, atom/target)