Fix typo in simulation warning

This commit is contained in:
Mattéo Delabre 2020-07-25 13:46:54 +02:00
parent 25382dec76
commit 59c28f544e
Signed by: matteo
GPG Key ID: AE3FBD02DC583ABB
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ class Course
{ {
if (!(`${this.currentStop}-${stop}` in network.segments)) 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.currentStop} to stop ${stop}. Teleporting to ${stop}`);
this.arriveToStop(stop); this.arriveToStop(stop);
return; return;