This commit is contained in:
cjdenio committed 2024-10-13 20:12:15 -04:00
1 parent 89d235de42
commit ef2edbae8a
1 file changed
+1
+1
View File
@@ -45,6 +45,7 @@
disabled = true disabled = true
if(route[route.length - 1].station != to) { if(route[route.length - 1].station != to) {
disabled = false
return alert(`Oops, your route doesn't end at ${agency.stations[to].stop_name}!`) return alert(`Oops, your route doesn't end at ${agency.stations[to].stop_name}!`)
} }