Revert "SSmachines instancing PR (#9080)"

This reverts commit 4889b33cea.
This commit is contained in:
atermonera
2023-07-23 17:45:10 -08:00
parent b3b59c5c2a
commit a8a9054d08
17 changed files with 126 additions and 150 deletions
+2 -2
View File
@@ -147,7 +147,7 @@
/obj/machinery/am_shielding/proc/setup_core()
processing = 1
begin_processing()
START_MACHINE_PROCESSING(src)
if(!control_unit) return
control_unit.linked_cores.Add(src)
control_unit.reported_core_efficiency += efficiency
@@ -199,4 +199,4 @@
qdel(src)
return
..()
return
return
+2 -2
View File
@@ -21,7 +21,7 @@
var/problem = 0 // If this is not 0 there is some sort of issue in the powernet. Monitors will display warnings.
/datum/powernet/New()
START_PROCESSING_MACHINERY(src, SSMACHINES_POWERNETS_LIST)
START_PROCESSING_POWERNET(src)
..()
/datum/powernet/Destroy()
@@ -31,7 +31,7 @@
for(var/obj/machinery/power/M in nodes)
nodes -= M
M.powernet = null
STOP_PROCESSING_MACHINERY(src, SSMACHINES_POWERNETS_LIST)
STOP_PROCESSING_POWERNET(src)
return ..()
//Returns the amount of excess power (before refunding to SMESs) from last tick.