mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-14 20:22:42 +00:00
welders now update their icon upon refilling them.
This commit is contained in:
@@ -150,6 +150,7 @@
|
|||||||
O.reagents.trans_to_obj(src, max_fuel)
|
O.reagents.trans_to_obj(src, max_fuel)
|
||||||
to_chat(user, "<span class='notice'>Welder refueled</span>")
|
to_chat(user, "<span class='notice'>Welder refueled</span>")
|
||||||
playsound(src, 'sound/effects/refill.ogg', 50, 1, -6)
|
playsound(src, 'sound/effects/refill.ogg', 50, 1, -6)
|
||||||
|
update_icon()
|
||||||
return
|
return
|
||||||
else if(!welding)
|
else if(!welding)
|
||||||
to_chat(user, "<span class='notice'>[src] doesn't use fuel.</span>")
|
to_chat(user, "<span class='notice'>[src] doesn't use fuel.</span>")
|
||||||
|
|||||||
Reference in New Issue
Block a user