[MIRROR] Unit tests powernets to make sure the whole station is connected. [MDB IGNORE] (#16503)

* Unit tests powernets to make sure the whole station is connected. (#70090)

* Unit tests powernets to make sure the whole station is connected.

* fixes cable tests for blueshift and raptor

* single cable misplacement

* hard map reset

* hec

* tramstation armory stray cable

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Paxilmaniac <paxilmaniac@gmail.com>
Co-authored-by: Tastyfish <crazychris32@gmail.com>
This commit is contained in:
SkyratBot
2022-09-29 07:24:37 +02:00
committed by GitHub
parent 8721fd64c5
commit b61a3f981d
38 changed files with 2237 additions and 2366 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
SSblackbox.record_feedback("tally", "admin_verb", 1, "Check Power") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
var/list/results = list()
for (var/datum/powernet/PN in GLOB.powernets)
for (var/datum/powernet/PN in SSmachines.powernets)
if (!PN.nodes || !PN.nodes.len)
if(PN.cables && (PN.cables.len > 1))
var/obj/structure/cable/C = PN.cables[1]