Skip to content

Commit

Permalink
Harry's review
Browse files Browse the repository at this point in the history
  • Loading branch information
Hopekz committed Jun 26, 2023
1 parent e8a6f15 commit 8cc92a5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions code/game/objects/items/tools/misc_tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 8cc92a5

Please sign in to comment.