From f70c357111cef959403c45decd5cad59c7aa5eb5 Mon Sep 17 00:00:00 2001 From: AnturK Date: Tue, 23 Jan 2018 13:46:11 +0100 Subject: [PATCH] Fixes disposal initialization (#34820) --- code/modules/recycling/disposal/bin.dm | 2 +- code/modules/recycling/disposal/outlet.dm | 2 +- code/modules/recycling/disposal/pipe.dm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/recycling/disposal/bin.dm b/code/modules/recycling/disposal/bin.dm index 62965f7ca1..271aad7e4d 100644 --- a/code/modules/recycling/disposal/bin.dm +++ b/code/modules/recycling/disposal/bin.dm @@ -33,7 +33,7 @@ stored = make_from pressure_charging = FALSE // newly built disposal bins start with pump off else - stored = new /obj/structure/disposalconstruct(null, make_from = src) + stored = new /obj/structure/disposalconstruct(null, null , SOUTH , FALSE , src) trunk_check() diff --git a/code/modules/recycling/disposal/outlet.dm b/code/modules/recycling/disposal/outlet.dm index 8385d22d56..0ef1717969 100644 --- a/code/modules/recycling/disposal/outlet.dm +++ b/code/modules/recycling/disposal/outlet.dm @@ -20,7 +20,7 @@ make_from.forceMove(src) stored = make_from else - stored = new /obj/structure/disposalconstruct(src, make_from = src) + stored = new /obj/structure/disposalconstruct(src, null , SOUTH , FALSE , src) target = get_ranged_target_turf(src, dir, 10) diff --git a/code/modules/recycling/disposal/pipe.dm b/code/modules/recycling/disposal/pipe.dm index 355d5d6b96..4f1f9c74d1 100644 --- a/code/modules/recycling/disposal/pipe.dm +++ b/code/modules/recycling/disposal/pipe.dm @@ -26,7 +26,7 @@ make_from.forceMove(src) stored = make_from else - stored = new /obj/structure/disposalconstruct(src, make_from=src) + stored = new /obj/structure/disposalconstruct(src, null , SOUTH , FALSE , src) if(dir in GLOB.diagonals) // Bent pipes already have all the dirs set initialize_dirs = NONE