From 59c28f544ef2985aa73f6150d3167fc6b3a4db03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o=20Delabre?= Date: Sat, 25 Jul 2020 13:46:54 +0200 Subject: [PATCH] Fix typo in simulation warning --- src/tam/simulation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tam/simulation.js b/src/tam/simulation.js index 22b791e..f560b68 100644 --- a/src/tam/simulation.js +++ b/src/tam/simulation.js @@ -238,7 +238,7 @@ class Course { if (!(`${this.currentStop}-${stop}` in network.segments)) { - console.warn(`Course ${this.id} is cannot go from stop + console.warn(`Course ${this.id} cannot go from stop ${this.currentStop} to stop ${stop}. Teleporting to ${stop}`); this.arriveToStop(stop); return;