mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Fix ashtray material persistence (#22974)
# Summary This PR fixes ashtrays not retaining their material visual.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user