mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 12:37:50 +01:00
Fix remaining code that directly modified use_power to call update_use_power.
This commit is contained in:
@@ -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()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user