Merge pull request #10209 from Ghommie/Ghommie-cit470

ports "Standardize obj/updateicon() and update_icons() to update_icon()"
This commit is contained in:
Putnam3145
2019-12-17 11:26:36 -08:00
committed by Archie
parent 1d9a8dfca8
commit d5f50d094a
12 changed files with 1502 additions and 1503 deletions
+3 -3
View File
@@ -40,11 +40,11 @@
last_process = world.time
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_icons()
addtimer(CALLBACK(src, .proc/update_icons), time_between_uses)
update_icon()
addtimer(CALLBACK(src, .proc/update_icon), time_between_uses)
/obj/structure/healingfountain/proc/update_icons()
/obj/structure/healingfountain/update_icon()
if(last_process + time_between_uses > world.time)
icon_state = "fountain"
else