From cae86877dde1b8bcdcd402f0d3d9c3cc2afdd3b6 Mon Sep 17 00:00:00 2001 From: mircearoata Date: Sat, 25 Dec 2021 18:26:00 +0200 Subject: [PATCH] Fix reloading cache not actually reloading cache --- src/modHandler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modHandler.ts b/src/modHandler.ts index 091e42e..0c71e11 100644 --- a/src/modHandler.ts +++ b/src/modHandler.ts @@ -123,6 +123,7 @@ export async function getCachedMods(force = false): Promise> { if (force) { debug('Forcing cache reload'); cachedMods = []; + cacheLoaded = false; } if (!cacheLoaded) { debug('Loading mod cache');