diff --git a/code/modules/hydroponics/seed.dm b/code/modules/hydroponics/seed.dm index 55b442566f5..348fb9eb0d1 100644 --- a/code/modules/hydroponics/seed.dm +++ b/code/modules/hydroponics/seed.dm @@ -787,12 +787,12 @@ // And check if any components on the plant wish to modify the harvest. SEND_SIGNAL(src, COMSIG_PLANT_HARVESTED, user, &total_yield, &cancelled, &doafter) if (cancelled) - return + return FALSE user.visible_message(SPAN_WARNING("[user] starts harvesting \the [display_name]")) if (doafter > 0 && !do_after(user, doafter)) to_chat(user, SPAN_DANGER("You were interrupted while trying to harvest \the [display_name]")) - return + return FALSE if(!force_amount && GET_SEED_TRAIT(src, TRAIT_YIELD) == 0 && !harvest_sample) to_chat(user, SPAN_DANGER("You fail to harvest anything useful.")) @@ -809,7 +809,7 @@ var/obj/item/seeds/seeds = new(get_turf(user)) seeds.seed_type = name seeds.update_seed() - return + return TRUE if(!isnull(force_amount)) total_yield = force_amount @@ -828,6 +828,7 @@ for(var/i = 0;i