Merge pull request #6566 from Mechoid/MultitoolFix

Fix Multitool Modes
This commit is contained in:
Atermonera
2019-12-15 11:51:47 -08:00
committed by GitHub
+2 -2
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>")