Fix ashtray material persistence (#22974)

# Summary

This PR fixes ashtrays not retaining their material visual.
This commit is contained in:
FabianK3
2026-08-02 01:24:03 +00:00
committed by GitHub
parent e79ad3a778
commit 49376e0b42
2 changed files with 7 additions and 0 deletions
@@ -30,6 +30,7 @@
if(content["material"])
set_material(content["material"])
max_butts = round(material.hardness/10)
update_icon()
var/fill_count = content["fill_count"]
if(fill_count)
if(fill_count > max_butts)