Update preferences_toggles.dm

This commit is contained in:
Couls
2019-04-26 01:30:49 -04:00
parent 5b8c344491
commit 69cbb67b3d
@@ -242,12 +242,4 @@
to_chat(usr, "<span class='notice'>You have enabled text popup limiting.")
else
to_chat(usr, "<span class='notice'>You have disabled text popup limiting.")
return
/client/verb/togglehotkeys()
set name = "Toggle Hotkey Mode"
set category = "Preferences"
set desc = "Toggles Hotkey Mode"
prefs.toggles ^= HOTKEYS
prefs.save_preferences(src)
to_chat(src, "You will [(prefs.toggles & HOTKEYS) ? "no longer" : "now"] use hotkey mode.")
feedback_add_details("admin_verb","HOTKEYS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return