Fixes code up.

This commit is contained in:
Cameron653
2017-07-13 17:12:46 -04:00
parent c736b6f824
commit b7608f81e8
2 changed files with 34 additions and 12 deletions
@@ -8,12 +8,12 @@
/datum/gear/suit/jacket_modular
display_name = "jacket, modular"
path = /obj/item/clothing/suit/storage/toggle/fluff/jacket
path = /obj/item/clothing/suit/storage/fluff/jacket
/datum/gear/suit/jacket_modular/New()
..()
var/list/jackets = list()
for(var/jacket in typesof(/obj/item/clothing/suit/storage/toggle/fluff/jacket))
var/obj/item/clothing/suit/jacket_type = jacket
jackets[initial(jacket_type.name)] = jacket_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(jackets))
var/list/the_jackets = list()
for(var/the_jacket in typesof(/obj/item/clothing/suit/storage/fluff/jacket))
var/obj/item/clothing/suit/jacket_type = the_jacket
the_jackets[initial(jacket_type.name)] = jacket_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(the_jackets))