Skip to content

Commit

Permalink
[MIRROR] Make chair use icon instead of magic string
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhEugene authored and SierraHelper committed Sep 26, 2023
1 parent ef40551 commit 3ac68f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
..()
var/cache_key = "[base_icon]-[material.name]-over"
if(isnull(stool_cache[cache_key]))
var/image/I = image('icons/obj/structures/furniture.dmi', "[base_icon]_over")
var/image/I = image(icon, "[base_icon]_over")
if(material_alteration & MATERIAL_ALTERATION_COLOR)
I.color = material.icon_colour
I.layer = ABOVE_HUMAN_LAYER
Expand Down

0 comments on commit 3ac68f0

Please sign in to comment.