Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Fix reloading cache not actually reloading cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mircearoata committed Dec 25, 2021
1 parent 33db203 commit cae8687
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export async function getCachedMods(force = false): Promise<Array<Mod>> {
if (force) {
debug('Forcing cache reload');
cachedMods = [];
cacheLoaded = false;
}
if (!cacheLoaded) {
debug('Loading mod cache');
Expand Down

0 comments on commit cae8687

Please sign in to comment.