From 18dab2399a8034c2fa1ed7d729bebd596a9d66b3 Mon Sep 17 00:00:00 2001 From: pubby Date: Mon, 4 Sep 2017 19:53:16 -0500 Subject: [PATCH] Fix cargo shuttle not docking right --- code/modules/shuttle/supply.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/shuttle/supply.dm b/code/modules/shuttle/supply.dm index 7c7fd1c68bf..6ef04dcaba0 100644 --- a/code/modules/shuttle/supply.dm +++ b/code/modules/shuttle/supply.dm @@ -67,7 +67,8 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list( /obj/docking_port/mobile/supply/dock() if(getDockedId() == "supply_away") // Buy when we leave home. buy() - if(..()) // Fly/enter transit. + . = ..() // Fly/enter transit. + if(. != DOCKING_SUCCESS) return if(getDockedId() == "supply_away") // Sell when we get home sell()