welders now update their icon upon refilling them.

This commit is contained in:
Asbestos Gremlin
2023-07-29 19:19:18 -07:00
parent 9a8d1bd12b
commit 32cfd29f9c

View File

@@ -150,6 +150,7 @@
O.reagents.trans_to_obj(src, max_fuel)
to_chat(user, "<span class='notice'>Welder refueled</span>")
playsound(src, 'sound/effects/refill.ogg', 50, 1, -6)
update_icon()
return
else if(!welding)
to_chat(user, "<span class='notice'>[src] doesn't use fuel.</span>")