mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
Fixes colored items like scarves and beanies being shown as white in vending machines (#44007)
* scorf * whoops
This commit is contained in:
committed by
Emmett Gaines
parent
4b259d87fb
commit
653e7531d3
@@ -684,6 +684,9 @@ GLOBAL_LIST_EMPTY(asset_datums)
|
||||
|
||||
if(icon_state in icon_states(icon_file))
|
||||
I = icon(icon_file, icon_state, SOUTH)
|
||||
var/c = initial(item.color)
|
||||
if (!isnull(c) && c != "#FFFFFF")
|
||||
I.Blend(initial(c), ICON_MULTIPLY)
|
||||
else
|
||||
item = new item()
|
||||
I = icon(item.icon, item.icon_state, SOUTH)
|
||||
|
||||
Reference in New Issue
Block a user