From db305a2582db8d408d83bd1defb45dc29f3d6d05 Mon Sep 17 00:00:00 2001 From: "baloh.matevz@gmail.com" Date: Thu, 26 Apr 2012 05:12:46 +0000 Subject: [PATCH] - fixed the message for powernets with fewer than 10 pieces of cable and added the area that they're in to the output. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3512 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/admin/verbs/atmosdebug.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/modules/admin/verbs/atmosdebug.dm b/code/modules/admin/verbs/atmosdebug.dm index 5dd5eab1043..dd5fee98f6c 100644 --- a/code/modules/admin/verbs/atmosdebug.dm +++ b/code/modules/admin/verbs/atmosdebug.dm @@ -29,14 +29,13 @@ return feedback_add_details("admin_verb","CPOW") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! - //all plumbing - yes, some things might get stated twice, doesn't matter. for (var/datum/powernet/PN in powernets) if (!PN.nodes || !PN.nodes.len) if(PN.cables && (PN.cables.len > 1)) var/obj/structure/cable/C = PN.cables[1] - usr << "Powernet with no nodes! (number [PN.number]) - example cable at [C.x], [C.y], [C.z]" + usr << "Powernet with no nodes! (number [PN.number]) - example cable at [C.x], [C.y], [C.z] in area [get_area(C.loc)]" if (!PN.cables || (PN.cables.len < 10)) if(PN.cables && (PN.cables.len > 1)) var/obj/structure/cable/C = PN.cables[1] - usr << "Powernet with no fewer than 10 cables! (number [PN.number]) - example cable at [C.x], [C.y], [C.z]" \ No newline at end of file + usr << "Powernet with fewer than 10 cables! (number [PN.number]) - example cable at [C.x], [C.y], [C.z] in area [get_area(C.loc)]" \ No newline at end of file