mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user