Compile fix for a fix for legcuffs.

This commit is contained in:
Chinsky
2014-06-12 02:11:40 +04:00
parent 238d5dfc2a
commit c56ab301d1
2 changed files with 7 additions and 7 deletions

View File

@@ -147,10 +147,10 @@
if(new_shoe_icon_state && new_shoe_name)
for(var/obj/item/clothing/shoes/S in contents)
//world << "DEBUG: YUP! FOUND IT!"
if (S.chained == 1)
S.chained = 0
S.slowdown = SHOES_SLOWDOWN
new /obj/item/weapon/handcuffs( src )
if (istype(S,/obj/item/clothing/shoes/orange))
var/obj/item/clothing/shoes/orange/L = S
if (L.chained)
L.remove_cuffs()
S.icon_state = new_shoe_icon_state
S.item_color = wash_color
S.name = new_shoe_name

View File

@@ -84,9 +84,9 @@
name = "orange shoes"
icon_state = "orange"
item_color = "orange"
var/chained = null
var/obj/item/weapon/handcuffs/chained = null
/obj/item/clothing/shoes/orange/proc/attach_cuffs(/obj/item/weapon/handcuffs/cuffs)
/obj/item/clothing/shoes/orange/proc/attach_cuffs(var/obj/item/weapon/handcuffs/cuffs)
if (src.chained) return
cuffs.loc = src