From 976cb4f844bd88458e8c5fa659c47780b18e0857 Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Sun, 27 Jul 2014 03:19:43 +0930 Subject: [PATCH] Fixed seeds not showing up properly in the vendor. --- code/modules/hydroponics/seeds.dm | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/code/modules/hydroponics/seeds.dm b/code/modules/hydroponics/seeds.dm index 40c5923866f..dbc13158ec3 100644 --- a/code/modules/hydroponics/seeds.dm +++ b/code/modules/hydroponics/seeds.dm @@ -11,14 +11,14 @@ var/modified = 0 /obj/item/seeds/New() - ..() update_seed() + ..() //Grabs the appropriate seed datum from the global list. /obj/item/seeds/proc/update_seed() if(!seed && seed_type && !isnull(seed_types) && seed_types[seed_type]) seed = seed_types[seed_type] - update_appearance() + update_appearance() //Updates strings and icon appropriately based on seed datum. /obj/item/seeds/proc/update_appearance() @@ -33,15 +33,8 @@ usr << "It's tagged as variety #[seed.uid]." /obj/item/seeds/replicapod - name = "pack of dionaea-replicant seeds" seed_type = "diona" - var/ckey = null - var/realName = null - var/mob/living/carbon/human/source - var/obj/machinery/hydroponics/parent = null - var/found_player = 0 - /obj/item/seeds/poppyseed seed_type = "poppies"