mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Merge branch 'master' of https://github.com/tgstation/tgstation into upstream-sync
This commit is contained in:
@@ -59,3 +59,17 @@
|
||||
return
|
||||
user.mob.button_pressed_F12()
|
||||
return TRUE
|
||||
|
||||
/datum/keybinding/client/close_every_ui
|
||||
hotkey_keys = list("Northwest") // HOME key
|
||||
name = "close_every_ui"
|
||||
full_name = "Close Open UIs"
|
||||
description = "Closes all UI windows you have open."
|
||||
keybind_signal = COMSIG_KB_CLIENT_CLOSEUI_DOWN
|
||||
|
||||
/datum/keybinding/client/close_every_ui/down(client/user, turf/target)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
SStgui.close_user_uis(user.mob)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user