From 1c9f9966bf91d2c439c583c6beaabfa9838f471f Mon Sep 17 00:00:00 2001 From: VampyrBytes Date: Fri, 18 Jul 2014 13:20:00 +0100 Subject: [PATCH] Fixes #247 No more sending crates to centcom to be unlocked, they'll keep everything now --- code/game/supplyshuttle.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/supplyshuttle.dm b/code/game/supplyshuttle.dm index e5510ebc79d..47ebeaec3ad 100644 --- a/code/game/supplyshuttle.dm +++ b/code/game/supplyshuttle.dm @@ -194,7 +194,7 @@ var/list/mechtoys = list( // Must be in a crate! if(istype(MA,/obj/structure/closet/crate)) - callHook("sell_crate", list(MA, area_shuttle)) + callHook("sell_crate", list(MA, area_shuttle)) // check this points += points_per_crate var/find_slip = 1 @@ -219,6 +219,8 @@ var/list/mechtoys = list( var/obj/item/stack/sheet/mineral/platinum/P = A plat_count += P.amount + // If you send something in a crate, centcom's keeping it! - fixes secure crates being sent to centom to open them + del(A) del(MA) if(plasma_count)