From 9842a3982ace70b064a1235ecd79ef61e9a63588 Mon Sep 17 00:00:00 2001 From: Dan Ports Date: Sun, 17 May 2020 14:24:03 -0600 Subject: [PATCH] #16: Fixed string format. --- src/railstation/startup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/railstation/startup b/src/railstation/startup index e6298f4..09faebc 100644 --- a/src/railstation/startup +++ b/src/railstation/startup @@ -58,7 +58,8 @@ 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]))) + print(string.format("Only one route to %s; preparing departure: %s", + railnetwork.formatLocation(trip.destination), formatRouteTags(routeOptions[1]))) trip.routes = nil handleDeparture(trip) return