mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user