Fixes the small hud buttons not getting hud colors

Fixes the crafting, nif, charsetup, and vorepanel hud buttons not getting the user's hud color and transparency prefs applied.
This commit is contained in:
Verkister
2021-08-02 13:39:51 +03:00
parent 7bd2f9ada6
commit db7c90b33d
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 = HUD.ui_color
C.alpha = HUD.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