mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Compile fix for a fix for legcuffs.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
/obj/item/clothing/shoes/orange/proc/remove_cuffs()
|
||||
if (!src.chained) return
|
||||
|
||||
|
||||
src.chained.loc = get_turf(src)
|
||||
src.slowdown = initial(slowdown)
|
||||
src.icon_state = "orange"
|
||||
|
||||
Reference in New Issue
Block a user