From df3cec1c3a6b62ae26b187d956f3967e7560064a Mon Sep 17 00:00:00 2001 From: Cameron Lennox Date: Sun, 22 Dec 2024 08:22:13 -0500 Subject: [PATCH] Fixes janihud color being incorrect on mapspawn objects (#16739) Up-port of Commit f743bfd by Willburd on Outpost21 - Fixes the jani hud icon turning black or red from map-spawned blood/oil by adding the RESET_COLOR flag --- code/game/objects/effects/decals/cleanable.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/effects/decals/cleanable.dm b/code/game/objects/effects/decals/cleanable.dm index a56798eae94..08ab8e951a6 100644 --- a/code/game/objects/effects/decals/cleanable.dm +++ b/code/game/objects/effects/decals/cleanable.dm @@ -56,7 +56,7 @@ generic_filth = TRUE means when the decal is saved, it will be switched out for hud.layer = BELOW_MOB_LAYER hud.mouse_opacity = 0 //HUD VARIANT: Allows the hud to show up with it's normal alpha, even if the 'dirty thing' it's attached to has a low alpha (ex: dirt). If you want to disable it, simply comment out the lines between the 'HUD VARIANT' tag! - hud.appearance_flags = RESET_ALPHA + hud.appearance_flags = RESET_ALPHA | RESET_COLOR hud.alpha = 255 //HUD VARIANT end add_overlay(hud)