Adds an Escape Menu (#72906)

This commit is contained in:
Mothblocks
2023-01-26 00:25:16 -08:00
committed by GitHub
parent 908bab48a0
commit 9d0cdfe909
36 changed files with 873 additions and 78 deletions
+9
View File
@@ -39,3 +39,12 @@
window.set_mouse_macro()
update_special_keybinds()
/// Manually clears any held keys, in case due to lag or other undefined behavior a key gets stuck.
/client/proc/reset_held_keys()
for(var/key in keys_held)
keyUp(key)
//In case one got stuck and the previous loop didn't clean it, somehow.
for(var/key in key_combos_held)
keyUp(key_combos_held[key])