Re-Support old hotkey mode behaviour (#33460)

* supports old hotkey mode behavior

* testmerge fixes
This commit is contained in:
Emmett Gaines
2017-12-16 21:35:47 -05:00
committed by oranges
parent e4d3296d4f
commit 4ec09a0c19
8 changed files with 140 additions and 45 deletions
+2 -1
View File
@@ -234,7 +234,8 @@ GLOBAL_LIST(external_rsc_urls)
. = ..() //calls mob.Login()
set_macros()
if(SSinput.initialized)
set_macros()
chatOutput.start() // Starts the chat
+4
View File
@@ -1170,6 +1170,10 @@ GLOBAL_LIST_EMPTY(preferences_datums)
if("hotkeys")
hotkeys = !hotkeys
if(hotkeys)
winset(user, null, "input.focus=true input.background-color=[COLOR_INPUT_ENABLED] mainwindow.macro=default")
else
winset(user, null, "input.focus=true input.background-color=[COLOR_INPUT_ENABLED] mainwindow.macro=old_default")
if("action_buttons")
buttons_locked = !buttons_locked
if("tgui_fancy")