Merge pull request #33905 from ShizCalev/jumpsuit-fix

Fixes being able to adjust jumpsuits without an adjust state w/ chameleon & random jumpsuit
This commit is contained in:
Jordan Brown
2017-12-29 10:10:30 -06:00
committed by CitadelStationBot
parent 48e0c47410
commit d38a4a2aa5
7 changed files with 22 additions and 27 deletions
+3 -7
View File
@@ -192,7 +192,7 @@
item_state = "wgloves"
item_color = "mime"
/obj/item/clothing/gloves/color/random/New()
/obj/item/clothing/gloves/color/random/Initialize()
..()
var/list/gloves = list(
/obj/item/clothing/gloves/color/orange = 1,
@@ -205,9 +205,5 @@
/obj/item/clothing/gloves/color/brown = 1)
var/obj/item/clothing/gloves/color/selected = pick(gloves)
name = initial(selected.name)
desc = initial(selected.desc)
icon_state = initial(selected.icon_state)
item_state = initial(selected.item_state)
item_color = initial(selected.item_color)
new selected(loc)
return INITIALIZE_HINT_QDEL