diff --git a/code/modules/power/cables/cable.dm b/code/modules/power/cables/cable.dm index ff91ec6b020..a6757fd34be 100644 --- a/code/modules/power/cables/cable.dm +++ b/code/modules/power/cables/cable.dm @@ -140,9 +140,7 @@ By design, d1 is the smallest direction and d2 is the highest deconstruct() /obj/structure/cable/proc/cable_color(colorC) - if(!colorC) - color = COLOR_RED - else if(colorC == "rainbow") + if(colorC == "rainbow") color = color_rainbow() else if(colorC == "orange") //byond only knows 16 colors by name, and orange isn't one of them color = COLOR_ORANGE diff --git a/code/modules/power/cables/cable_coil.dm b/code/modules/power/cables/cable_coil.dm index 31176947c3a..c8f1c6d7c50 100644 --- a/code/modules/power/cables/cable_coil.dm +++ b/code/modules/power/cables/cable_coil.dm @@ -53,8 +53,6 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain name = "cable piece" /obj/item/stack/cable_coil/update_icon_state() - if(!color) - color = pick(COLOR_RED, COLOR_BLUE, COLOR_GREEN, COLOR_ORANGE, COLOR_WHITE, COLOR_PINK, COLOR_YELLOW, COLOR_CYAN) if(amount == 1) icon_state = "coil1" else if(amount == 2)