Update carbon.dm

This commit is contained in:
kevinz000
2017-01-26 16:25:20 -08:00
committed by GitHub
parent 3d2c67ef46
commit af1f42fa2f
+9 -2
View File
@@ -279,13 +279,20 @@
/mob/living/carbon/resist_restraints()
var/obj/item/I = null
var/type = 0
if(handcuffed)
I = handcuffed
type = 1
else if(legcuffed)
I = legcuffed
type = 2
if(I)
changeNext_move(CLICK_CD_BREAKOUT)
last_special = world.time + CLICK_CD_BREAKOUT
if(type == 1)
changeNext_move(CLICK_CD_BREAKOUT)
last_special = world.time + CLICK_CD_BREAKOUT
if(type == 2)
changeNext_move(CLICK_CD_RANGED)
last_special = world.time + CLICK_CD_RANGED
cuff_resist(I)