mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user