mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Adds an Escape Menu (#72906)
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user