Quick fix for resisting out of cuffs

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3827 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-06-15 06:10:35 +00:00
parent 0ab6eda79b
commit 1b6b13b6b4
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -592,6 +592,7 @@
usr << "\green You successfully break your handcuffs."
del(usr:handcuffed)
usr:handcuffed = null
usr.update_inv_handcuffed()
else
var/obj/item/weapon/handcuffs/HC = usr:handcuffed
var/breakouttime = 1200 //A default in case you are somehow handcuffed with something that isn't an obj/item/weapon/handcuffs type
@@ -611,6 +612,7 @@
usr << "\blue You successfully remove \the [usr:handcuffed]."
usr:handcuffed.loc = usr.loc
usr:handcuffed = null
usr.update_inv_handcuffed()
//unbuckling yourself
else if(usr:handcuffed && (usr.last_special <= world.time) && usr:buckled)