Merge pull request #12624 from VOREStation/upstream-merge-8507

[MIRROR] Colors hud alerts according to their master object's color.
This commit is contained in:
Casey
2022-04-05 20:15:31 -04: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