arrayFake did not correctly compute if values were faked

Fixes #531
This commit is contained in:
kkapsner 2021-06-12 00:58:37 +02:00
parent 277bef1227
commit 13203a905d
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@
let fakedValue = [];
for (let i = 0; i < originalValue.length; i += 1){
fakedValue[i] = parameterFakeTypes[this.type](originalValue[i], this, window, prefs);
faked |= originalValue[i] === fakedValue[i];
faked = faked || originalValue[i] !== fakedValue[i];
originalValue[i] = fakedValue[i];
}
this.fake = function(originalValue){