1.3.5->.6: aktualizacja scenerii, poprawki w filtrowaniu

This commit is contained in:
2021-02-06 21:40:27 +01:00
parent ec74a43483
commit aac1d6c132
4 changed files with 29 additions and 20 deletions
+1
View File
@@ -42,6 +42,7 @@ export default class StationFilterManager {
if (station.default && this.filters['default']) return false;
if (!station.default && this.filters['notDefault']) return false;
if (station.reqLevel == '-1') return true;
if (parseInt(station.reqLevel) < this.filters['minLevel']) return false;
if (this.filters['no-1track'] && (station.routes.oneWay.catenary != 0 || station.routes.oneWay.noCatenary != 0)) return false;