From aa9873d7ff023f2c7a939b01e4782d90a5a2c18f Mon Sep 17 00:00:00 2001 From: phil235 Date: Fri, 7 Nov 2014 17:12:16 +0100 Subject: [PATCH] Fix Disposal pipe construction runtime. --- code/modules/recycling/disposal-construction.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/recycling/disposal-construction.dm b/code/modules/recycling/disposal-construction.dm index 5e74e4e2aa8..de04a918ec0 100644 --- a/code/modules/recycling/disposal-construction.dm +++ b/code/modules/recycling/disposal-construction.dm @@ -215,7 +215,8 @@ playsound(src.loc, 'sound/items/Welder2.ogg', 100, 1) user << "Welding the [nicetype] in place." if(do_after(user, 20)) - if(!src || !W.isOn()) return + if(!src.loc || !W.isOn()) + return user << "The [nicetype] has been welded in place!" update() // TODO: Make this neat if(ispipe) // Pipe