Fixes sleeps in movement procs creating lag in ssinput.

This commit is contained in:
Kyle Spier-Swenson
2018-02-05 08:43:43 -08:00
committed by GitHub
parent 92073b2ff5
commit 1aeb756c05
+2 -1
View File
@@ -12,6 +12,7 @@
/datum/proc/key_up(key, client/user) // Called when a key is released
return
/datum/proc/keyLoop(client/user) // Called once every frame
set waitfor = 0
return
// removes all the existing macros
@@ -46,4 +47,4 @@
if(prefs.hotkeys)
winset(src, null, "input.focus=true input.background-color=[COLOR_INPUT_ENABLED] mainwindow.macro=default")
else
winset(src, null, "input.focus=true input.background-color=[COLOR_INPUT_ENABLED] mainwindow.macro=old_default")
winset(src, null, "input.focus=true input.background-color=[COLOR_INPUT_ENABLED] mainwindow.macro=old_default")