mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-10 01:12:42 +00:00
- 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:
@@ -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."
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user