diff --git a/src/plugins/new-launch/new-launch.ts b/src/plugins/new-launch/new-launch.ts index 7a011949..615acf67 100644 --- a/src/plugins/new-launch/new-launch.ts +++ b/src/plugins/new-launch/new-launch.ts @@ -258,10 +258,16 @@ export class NewLaunch extends KeepTrackPlugin { }, validationFunc: (data: any) => typeof data.satPos !== 'undefined', error: () => { + if (!this.isDoingCalculations) { + // If we are not doing calculations, then it must have finished already. + return; + } + this.isDoingCalculations = false; hideLoading(); uiManagerInstance.toast('Cruncher failed to meet requirement after multiple tries! Is this launch even possible?', ToastMsgType.critical); }, + maxRetries: 50, }); };