diff --git a/src/modules/patcher.ts b/src/modules/patcher.ts index 787ce1a..5dbfa50 100644 --- a/src/modules/patcher.ts +++ b/src/modules/patcher.ts @@ -558,6 +558,8 @@ export class Patcher { const caches: { [key: string]: string[] } = {}; for (let id in item[1]) { + appliedPatches = []; + const cachedPatches = PatcherCache.getPatches(id); if (cachedPatches) { patchesToCheck = cachedPatches; @@ -572,8 +574,6 @@ export class Patcher { } // console.log(patchesToCheck); - - appliedPatches = []; const func = item[1][id]; let str = func.toString();