+1
-1
packages/core/src/patch.ts
+1
-1
packages/core/src/patch.ts
···
116
116
const origModuleString = moduleCache[id];
117
117
let moduleString = origModuleString;
118
118
const patchedStr = [];
119
-
const mappedName = moonlight.moonmap.modules[id];
119
+
const mappedName = Object.entries(moonlight.moonmap.modules).find((m) => m[1] === id)?.[0];
120
120
let modified = false;
121
121
let swappedModule = false;
122
122