diff --git a/code/game/objects/items/tools/misc_tools.dm b/code/game/objects/items/tools/misc_tools.dm index f3d11ae88a0b..071bb3eef56f 100644 --- a/code/game/objects/items/tools/misc_tools.dm +++ b/code/game/objects/items/tools/misc_tools.dm @@ -285,16 +285,15 @@ var/current_colour_index = 1 /obj/item/tool/pen/fountain/attack_self(mob/living/carbon/human/user) - if(on) { + if(on) current_colour_index = (current_colour_index % length(colour_list)) + 1 pen_colour = colour_list[current_colour_index] to_chat(user, SPAN_WARNING("You twist the pen and change the ink color to [pen_colour].")) if(clicky) playsound(user.loc, "sound/items/pen_click_on.ogg", 100, 1, 5) update_pen_state() - } else { + else ..() - } /obj/item/tool/pen/attack(mob/M as mob, mob/user as mob) if(!ismob(M))