So apparently, I'm still an idiot.

This commit is contained in:
Mechoid
2019-12-13 16:23:30 -08:00
parent f24bd85d89
commit c70a0eefb7

View File

@@ -51,10 +51,10 @@
return ..()
/obj/item/device/multitool/proc/mode_switch(mob/living/user)
if(++mode_index > modes.len) mode_index = 1
if(mode_index + 1 > modes.len) mode_index = 1
else
mode_index++
mode_index += 1
toolmode = modes[mode_index]
to_chat(user,"<span class='notice'>\The [src] is now set to [toolmode].</span>")