From f921b58d8ebc74036a701cba2e682ab37fdb904a Mon Sep 17 00:00:00 2001 From: Dan Ports Date: Sun, 17 May 2020 14:19:33 -0600 Subject: [PATCH] #16: Note that there is only one route option before departure. --- src/railstation/startup | 1 + 1 file changed, 1 insertion(+) diff --git a/src/railstation/startup b/src/railstation/startup index 30614e4..e6298f4 100644 --- a/src/railstation/startup +++ b/src/railstation/startup @@ -58,6 +58,7 @@ function selectDepartureRoute(trip) table.insert(routeOptions, tags) end if #routeOptions == 1 then + print(string.format("Only one route to %s; preparing departure: %s", trip.destination, formatRouteTags(routeOptions[1]))) trip.routes = nil handleDeparture(trip) return