[MIRROR] APC and SSmachines hotfixes [NO GBP] (#28930)

* APC and SSmachines hotfixes [NO GBP]

* Update apc_main.dm

* Update apc_main.dm

* Update apc_main.dm

* Update machines.dm

---------

Co-authored-by: Andrew <mt.forspam@gmail.com>
Co-authored-by: SpaceLoveSs13 <68121607+SpaceLoveSs13@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-07-20 18:08:22 +02:00
committed by GitHub
parent e95fcec1fc
commit c4ebe3da2a
7 changed files with 79 additions and 29 deletions
+3 -1
View File
@@ -19,11 +19,13 @@
/obj/machinery/computer/monitor/Initialize(mapload)
. = ..()
//Add to the late process queue to record the accurate power usage data
SSmachines.processing_late += src
search()
history["supply"] = list()
history["demand"] = list()
/obj/machinery/computer/monitor/process()
/obj/machinery/computer/monitor/process_late()
if(!get_powernet())
update_use_power(IDLE_POWER_USE)
search()