Fixed an issue with disposal pipe ends not properly hooking up to a disposal unit if you weld one to rotate it, then reweld it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@569 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-12-08 20:04:57 +00:00
parent cb4190f157
commit 1de5976df7

View File

@@ -815,11 +815,14 @@
var/obj/machinery/disposal/D = locate() in src.loc
if(D)
linked = D
if (!D.trunk)
D.trunk = src
var/obj/disposaloutlet/O = locate() in src.loc
if(O)
linked = O
update()
return