From b1d3d61482c0084f2d181d5eb6849b36376f06f2 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Wed, 13 Mar 2019 00:01:27 +0000 Subject: [PATCH] Ignore stop "Dworzec Główny" still reported by TTSS --- common.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common.js b/common.js index f238013..12021ce 100644 --- a/common.js +++ b/common.js @@ -117,7 +117,7 @@ function depotIdToVehicleId(depotId, typeHelper) { if(typeHelper) { for(var prop in vehicles_info) { - if(prop.substr(0,1) == type && vehicles_info[prop]['num'].substr(2) == depotId) { + if(prop.substr(0,1) == typeHelper && vehicles_info[prop]['num'].substr(2) == depotId) { return prop; } } -- Gitblit v1.9.1