mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +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
|
var/obj/machinery/disposal/D = locate() in src.loc
|
||||||
if(D)
|
if(D)
|
||||||
linked = D
|
linked = D
|
||||||
|
if (!D.trunk)
|
||||||
|
D.trunk = src
|
||||||
|
|
||||||
var/obj/disposaloutlet/O = locate() in src.loc
|
var/obj/disposaloutlet/O = locate() in src.loc
|
||||||
if(O)
|
if(O)
|
||||||
linked = O
|
linked = O
|
||||||
|
|
||||||
|
|
||||||
update()
|
update()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user