Merge pull request #10209 from Ghommie/Ghommie-cit470

ports "Standardize obj/updateicon() and update_icons() to update_icon()"
This commit is contained in:
Putnam3145
2021-06-04 15:06:24 -03:00
committed by Archie
parent 1d9a8dfca8
commit d5f50d094a
12 changed files with 1502 additions and 1503 deletions
+3 -3
View File
@@ -335,7 +335,7 @@ GLOBAL_LIST_EMPTY(teleportlocs)
for(var/obj/machinery/light/L in src)
L.update()
/area/proc/updateicon()
/area/proc/update_icon()
var/weather_icon
for(var/V in SSweather.processing)
var/datum/weather/W = V
@@ -345,7 +345,7 @@ GLOBAL_LIST_EMPTY(teleportlocs)
if(!weather_icon)
icon_state = null
/area/space/updateicon()
/area/space/update_icon()
icon_state = null
/*
@@ -378,7 +378,7 @@ GLOBAL_LIST_EMPTY(teleportlocs)
/area/proc/power_change()
for(var/obj/machinery/M in src) // for each machine in the area
M.power_change() // reverify power status (to update icons etc.)
updateicon()
update_icon()
/area/proc/usage(chan)
var/used = 0