this repo has no description

core/patch: fix subtle subtle bug that causes everything to be wrapped

Changed files
+1 -1
packages
core
src
+1 -1
packages/core/src/patch.ts
···
}
}
-
let modified = false;
for (const [id, func] of Object.entries(entry)) {
if (func.__moonlight === true) continue;
···
let moduleString = origModuleString;
const patchedStr = [];
const mappedName = moonlight.moonmap.modules[id];
for (let i = 0; i < patches.length; i++) {
const patch = patches[i];
···
}
}
for (const [id, func] of Object.entries(entry)) {
if (func.__moonlight === true) continue;
···
let moduleString = origModuleString;
const patchedStr = [];
const mappedName = moonlight.moonmap.modules[id];
+
let modified = false;
for (let i = 0; i < patches.length; i++) {
const patch = patches[i];