mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-25 09:31:30 +00:00
So apparently, I'm still an idiot.
This commit is contained in:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user