mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
Re-Support old hotkey mode behaviour (#33460)
* supports old hotkey mode behavior * testmerge fixes
This commit is contained in:
@@ -234,7 +234,8 @@ GLOBAL_LIST(external_rsc_urls)
|
||||
|
||||
. = ..() //calls mob.Login()
|
||||
|
||||
set_macros()
|
||||
if(SSinput.initialized)
|
||||
set_macros()
|
||||
|
||||
chatOutput.start() // Starts the chat
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user