From f9e086c134e62990773954b329fef8f9381d5308 Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Sat, 25 May 2024 14:47:20 +0100 Subject: [PATCH] Actually ride for multiple stops; small silly bug --- backend/src/gtfs/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/gtfs/mod.rs b/backend/src/gtfs/mod.rs index db799db..e6e1331 100644 --- a/backend/src/gtfs/mod.rs +++ b/backend/src/gtfs/mod.rs @@ -66,7 +66,7 @@ impl GtfsModel { break; } - if next_step.time1 > time { + if next_step.time1 >= time { results.push(next_step); } }