Fix remaining code that directly modified use_power to call update_use_power.

This commit is contained in:
Leshana
2020-04-22 20:47:15 -04:00
parent 93fb3f7865
commit 9bd2347966
7 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -48,13 +48,13 @@
plant = prepare_icon(emagged ? "emagged" : null)
overlays += plant
set_light(2)
use_power = USE_POWER_ACTIVE
update_use_power(USE_POWER_ACTIVE)
/obj/machinery/holoplant/proc/deactivate()
overlays -= plant
QDEL_NULL(plant)
set_light(0)
use_power = USE_POWER_OFF
update_use_power(USE_POWER_OFF)
/obj/machinery/holoplant/power_change()
..()