mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 06:01:38 -09:00
fix corrective proxy setters
This commit is contained in:
parent
393f6fd2e7
commit
9f9d91f6a3
@ -538,7 +538,11 @@ globalThis.modapi_postinit = "(" + (() => {
|
||||
return outputValue;
|
||||
},
|
||||
set(object, prop, value) {
|
||||
var corrective = !!this._corrective;
|
||||
var outProp = "$" + prop;
|
||||
if (corrective) {
|
||||
outProp = ModAPI.util.getNearestProperty(target, outProp);
|
||||
}
|
||||
object[outProp] = value;
|
||||
return true;
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user