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
This commit is contained in:
Cameron Lennox
2024-12-22 14:22:13 +01:00
committed by GitHub
parent a1a3f33ddc
commit df3cec1c3a
@@ -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)