diff --git a/src/store/mainStore.ts b/src/store/mainStore.ts index b553f6c..1170700 100644 --- a/src/store/mainStore.ts +++ b/src/store/mainStore.ts @@ -107,7 +107,10 @@ export const useMainStore = defineStore('store', { if ( acc.findIndex((v) => v.name == name && v.region == train.region) != -1 || apiStore.activeData?.activeSceneries?.findIndex( - (sc) => sc.stationName === name && sc.region == train.region + (sc) => + sc.stationName === name && + sc.region == train.region && + Date.now() - sc.lastSeen < 1000 * 60 * 2 ) != -1 ) return acc;