mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Refactors screen object update_icon to call parent (#47094)
* Refactors screen object update_icon to call parent And makes update_icon an /atom proc * Cleans up some missed null checks The student teaches the master
This commit is contained in:
committed by
Rob Bailey
parent
9405c840c6
commit
8982f509b5
@@ -41,7 +41,7 @@
|
||||
to_chat(user, "<span class='notice'>The water feels warm and soothing as you touch it. The fountain immediately dries up shortly afterwards.</span>")
|
||||
user.reagents.add_reagent(/datum/reagent/medicine/omnizine/godblood,20)
|
||||
update_icon()
|
||||
addtimer(CALLBACK(src, .proc/update_icon), time_between_uses)
|
||||
addtimer(CALLBACK(src, /atom/.proc/update_icon), time_between_uses)
|
||||
|
||||
|
||||
/obj/structure/healingfountain/update_icon()
|
||||
|
||||
Reference in New Issue
Block a user