mirror of
https://github.com/KabKebab/GS13.git
synced 2026-04-05 19:11:06 +01:00
Merge pull request #275 from ReoDaProtovali/FactorioFeeding
Industrial Feeding Tubes
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
|
||||
/obj/structure/disposaloutlet/Initialize(mapload, obj/structure/disposalconstruct/make_from)
|
||||
. = ..()
|
||||
//GS Add: Hacky Solution, but it works.
|
||||
if(type == /obj/structure/disposaloutlet/industrial_feeding_tube)
|
||||
return
|
||||
//GS Add End.
|
||||
if(make_from)
|
||||
setDir(make_from.dir)
|
||||
make_from.forceMove(src)
|
||||
|
||||
@@ -264,6 +264,9 @@
|
||||
|
||||
var/obj/structure/disposaloutlet/O = locate() in T
|
||||
if(O)
|
||||
//GS add: Fixes a minor issue where the trunk gets linked to feeding tube improperly
|
||||
if(O.type = /obj/structure/disposaloutlet/industrial_feeding_tube)
|
||||
return
|
||||
linked = O
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user