when called from
|
records: filesToPatch => { |
// loads all REFRs that place Weapons records:
records: filesToPatch => {
let records = filesToPatch.map(f => { return xelib.GetREFRs(f, 'WEAP'); });
return Array.prototype.concat.apply([], records); },
it pass a filename as argument 0, yet in xelib.GetREFRs() the argument 0 is passed on to the dll which requires a integer.