Merge pull request #11326 from Verkister/hudbutts

Fixes the small hud buttons not getting hud colors
This commit is contained in:
Aronai Sieyes
2021-08-02 09:40:03 -04:00
committed by Chompstation Bot
parent 30329906ea
commit dfd88b4ba7
4 changed files with 14 additions and 6 deletions
+3 -1
View File
@@ -8,6 +8,8 @@
var/datum/hud/H = user.hud_used
var/obj/screen/craft/C = new()
C.icon = H.ui_style
C.color = H.ui_color
C.alpha = H.ui_alpha
LAZYADD(H.other_important, C)
CL.screen += C
RegisterSignal(C, COMSIG_CLICK, .proc/component_ui_interact)
@@ -392,7 +394,7 @@
cur_subcategory = subcats[1]
else
cur_subcategory = CAT_NONE
var/list/data = list()
data["busy"] = busy
data["category"] = cur_category