diff --git a/code/game/mecha/mech_fabricator.dm b/code/game/mecha/mech_fabricator.dm index ba4493522f..e56dbe71e8 100644 --- a/code/game/mecha/mech_fabricator.dm +++ b/code/game/mecha/mech_fabricator.dm @@ -453,10 +453,10 @@ for(var/datum/design/D in files.known_designs) if(D.build_type&16) if(D.category in part_sets)//Checks if it's a valid category - if(add_part_to_set(D.category, text2path(D.build_path)))//Adds it to said category + if(add_part_to_set(D.category, D.build_path))//Adds it to said category i++ else - if(add_part_to_set("Misc", text2path(D.build_path)))//If in doubt, chunk it into the Misc + if(add_part_to_set("Misc", D.build_path))//If in doubt, chunk it into the Misc i++ return i