From db7549823ff648c93278f63ceaddfda5a6ff61b7 Mon Sep 17 00:00:00 2001 From: Rerik007 <120549107+Rerik007@users.noreply.github.com> Date: Sun, 14 Jan 2024 15:33:22 +0300 Subject: [PATCH] you can reset actions button's positions again (#23710) --- code/_onclick/hud/action_button.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/_onclick/hud/action_button.dm b/code/_onclick/hud/action_button.dm index bca000eac81..2ff53932b0c 100644 --- a/code/_onclick/hud/action_button.dm +++ b/code/_onclick/hud/action_button.dm @@ -105,6 +105,12 @@ return ..() /obj/screen/movable/action_button/hide_toggle/Click(location,control,params) + var/list/modifiers = params2list(params) + + if(modifiers["alt"]) + AltClick(usr) + return TRUE + usr.hud_used.action_buttons_hidden = !usr.hud_used.action_buttons_hidden hidden = usr.hud_used.action_buttons_hidden