From ae61a68ff54c008dc094ba6317a112202d70c147 Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Thu, 11 Nov 2010 01:57:02 +0000 Subject: [PATCH] Your pipe fitting no longer disappears if you try creating a pipe segment with no connections git-svn-id: http://tgstation13.googlecode.com/svn/trunk@400 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/machinery/pipe/construction.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/pipe/construction.dm b/code/game/machinery/pipe/construction.dm index 4606b5936c..9ea821c973 100644 --- a/code/game/machinery/pipe/construction.dm +++ b/code/game/machinery/pipe/construction.dm @@ -200,7 +200,7 @@ Buildable meters P.node2.build_network() else usr << "There's nothing to connect this pipe section to! (with how the pipe code works, at least one end needs to be connected to something, otherwise the game deletes the segment)" - + return if(1) // bent pipe var/obj/machinery/atmospherics/pipe/simple/P = new /obj/machinery/atmospherics/pipe/simple( src.loc ) @@ -229,7 +229,7 @@ Buildable meters P.node2.build_network() else usr << "There's nothing to connect this pipe section to! (with how the pipe code works, at least one end needs to be connected to something, otherwise the game deletes the segment)" - + return /* if(2,3) // straight or bent h/e pipe