From 9d99e88c6d75b7f1df305c3f99f7e09fa13852ca Mon Sep 17 00:00:00 2001 From: AnSq Date: Sun, 28 Jun 2026 09:12:03 -0700 Subject: [PATCH] bugfix: fix error when Baro has left Orcus but has not yet arrived at Strata causing `other_baro` and all subsequent tasks to break. --- package.json | 2 +- sources/js/app.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5265afa..65b4575 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "task-checklist", - "version": "5.1", + "version": "5.1.1", "description": "A Warframe Task Checklist to track daily, weekly, and other tasks. Built with HTML, CSS, and vanilla JavaScript, processed with Vite.", "type": "module", "scripts": { diff --git a/sources/js/app.js b/sources/js/app.js index 598e053..2a0353f 100644 --- a/sources/js/app.js +++ b/sources/js/app.js @@ -31,7 +31,7 @@ const dailyBackgroundImageIds = [ 'bg-image-4', // Add more IDs if you add more background image divs in HTML ]; -const APP_VERSION = "5.1"; +const APP_VERSION = "5.1.1"; const GIT_COMMIT_HASH_LONG = import.meta.env.VITE_GIT_COMMIT_HASH; const GIT_COMMIT_HASH = GIT_COMMIT_HASH_LONG.slice(0,7); const WARFRAME_VERSION = "43.0.2"; @@ -768,7 +768,7 @@ function makeInfoLine(task, appendTo) { } cycleIndex = modulo(Math.floor((now.getTime() - ref.getTime()) / period), cycleCount); - if (!isAvailable) {cycleIndex++;} + if (!isAvailable) { cycleIndex = modulo(cycleIndex + 1, cycleCount); } console.log(`${task.id} cycleIndex ${cycleIndex}`); const cycleData = cycles[task.id].columns[0].order[cycleIndex];