No more cuffing people from tiles away.
This commit is contained in:
skull132
2016-03-25 01:56:29 +02:00
parent df8f0bbc68
commit 0a93920b54

View File

@@ -67,7 +67,7 @@
user.visible_message("<span class='danger'>\The [user] is attempting to put [cuff_type] on \the [H]!</span>")
if(!do_after(user,30))
if(!do_mob(user, target, 30))
return
H.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been handcuffed (attempt) by [user.name] ([user.ckey])</font>")