From 1d3a2c1a31c3daeda14294e9511a8033adc326c8 Mon Sep 17 00:00:00 2001 From: GinjaNinja32 Date: Thu, 13 Aug 2015 21:01:46 +0100 Subject: [PATCH] fix #10617 --- code/game/supplyshuttle.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/supplyshuttle.dm b/code/game/supplyshuttle.dm index 044143269e..523a83a080 100644 --- a/code/game/supplyshuttle.dm +++ b/code/game/supplyshuttle.dm @@ -197,7 +197,7 @@ var/list/mechtoys = list( // Sell phoron and platinum if(istype(A, /obj/item/stack)) - var/obj/item/stack/P + var/obj/item/stack/P = A switch(P.get_material_name()) if("phoron") phoron_count += P.get_amount() if("platinum") plat_count += P.get_amount()