- Fixed the problem with cable handcuffs where you could not make a pair from a cable coil with exactly 15 lengths of wire.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3791 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-06-11 13:58:41 +00:00
parent be2264f223
commit b2e51d55ef

View File

@@ -252,10 +252,10 @@
if(src.amount <= 14)
usr << "\red You need at least 15 lengths to make restraints!"
return
src.use(15)
var/obj/item/weapon/handcuffs/cable/B = new /obj/item/weapon/handcuffs/cable(usr.loc)
B.icon_state = "cuff_[color]"
usr << "\blue You wind some cable together to make some restraints."
src.use(15)
else
usr << "\blue You cannot do that."
..()