Changes all cases of update_icons(), updateicon(), UpdateIcon() etc. to update_icon(). (#9432)

update_icons(), UpdateIcon() and updateicon() are now changed to be update_icon().

Many interactions expect a target to have an update_icon(), so they should all be the same.

Also fixed some stuff that was using relative pathing, along the way.
This commit is contained in:
mikomyazaki
2020-07-26 12:28:36 +03:00
committed by GitHub
parent 9a6168e10a
commit 3f2a515a8b
64 changed files with 677 additions and 701 deletions
+2 -2
View File
@@ -33,7 +33,7 @@
if(metal)
var/obj/structure/foamedmetal/M = new /obj/structure/foamedmetal(src.loc)
M.metal = metal
M.updateicon()
M.update_icon()
flick("[icon_state]-disolve", src)
QDEL_IN(src, 5)
@@ -143,7 +143,7 @@
set_opacity(0)
return ..()
/obj/structure/foamedmetal/proc/updateicon()
/obj/structure/foamedmetal/update_icon()
if(metal == 1)
icon_state = "metalfoam"
else