mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user