From ff23f932a2b5d756dd29713cc40a79bcaa81076b Mon Sep 17 00:00:00 2001 From: Crazylemon64 Date: Tue, 23 Aug 2016 00:15:30 -0700 Subject: [PATCH] Fixes some runtimes when throwing hydroponics fruit --- code/modules/hydroponics/seed.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/hydroponics/seed.dm b/code/modules/hydroponics/seed.dm index 994f141d373..a3969f7c5eb 100644 --- a/code/modules/hydroponics/seed.dm +++ b/code/modules/hydroponics/seed.dm @@ -250,11 +250,11 @@ var/no_los var/turf/last_turf = origin_turf for(var/turf/target_turf in getline(origin_turf,neighbor)) - if(!last_turf.Enter(target_turf) || target_turf.density) + if(!last_turf.Enter(thrown,target_turf) || target_turf.density) no_los = 1 break last_turf = target_turf - if(!no_los && !origin_turf.Enter(neighbor)) + if(!no_los && !origin_turf.Enter(thrown, neighbor)) no_los = 1 if(no_los) closed_turfs |= neighbor