This commit is contained in:
Mirco Wittrien 2020-02-10 13:56:28 +01:00
parent 8e2bb39a37
commit e7263c581e
2 changed files with 2 additions and 2 deletions

View File

@ -1172,7 +1172,7 @@
};
for (let key of Object.keys(originalfunction)) module[methodName][key] = originalfunction[key];
if (!module[methodName].__originalMethod) module[methodName].__originalMethod = originalfunction.__originalMethod || originalfunction;
module[methodName].toString = _ => module[methodName].__originalMethod.toString;
module[methodName].toString = _ => {return module[methodName].__originalMethod.toString();};
module[methodName].__isBDFDBpatched = true;
}
for (let type in patchfunctions) if (typeof patchfunctions[type] == "function") {

File diff suppressed because one or more lines are too long