Fixes disposal initialization (#34820)

This commit is contained in:
AnturK
2018-01-23 13:46:11 +01:00
committed by CitadelStationBot
parent 5e1ff26276
commit f70c357111
3 changed files with 3 additions and 3 deletions

View File

@@ -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()

View File

@@ -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)

View File

@@ -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