mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
[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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user