mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Fix not clearing "appliedPatches" correctly
This commit is contained in:
parent
07a4034cc1
commit
f144fac81e
@ -558,6 +558,8 @@ export class Patcher {
|
|||||||
const caches: { [key: string]: string[] } = {};
|
const caches: { [key: string]: string[] } = {};
|
||||||
|
|
||||||
for (let id in item[1]) {
|
for (let id in item[1]) {
|
||||||
|
appliedPatches = [];
|
||||||
|
|
||||||
const cachedPatches = PatcherCache.getPatches(id);
|
const cachedPatches = PatcherCache.getPatches(id);
|
||||||
if (cachedPatches) {
|
if (cachedPatches) {
|
||||||
patchesToCheck = cachedPatches;
|
patchesToCheck = cachedPatches;
|
||||||
@ -572,8 +574,6 @@ export class Patcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// console.log(patchesToCheck);
|
// console.log(patchesToCheck);
|
||||||
|
|
||||||
appliedPatches = [];
|
|
||||||
const func = item[1][id];
|
const func = item[1][id];
|
||||||
let str = func.toString();
|
let str = func.toString();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user