Merge pull request #4012 from CHOMPStation2/upstream-merge-12624

[MIRROR] [MIRROR] Colors hud alerts according to their master object's color.
This commit is contained in:
Razgriz
2022-04-05 21:20:00 -07:00
committed by GitHub

View File

@@ -39,6 +39,7 @@
alert.icon_state = "itembased"
var/image/I = image(icon = new_master.icon, icon_state = new_master.icon_state, dir = SOUTH)
I.plane = PLANE_PLAYER_HUD_ABOVE
I.color = new_master.color
alert.add_overlay(I)
alert.master = new_master
else