This commit is contained in:
Laetitia (O-01-67) 2022-11-11 16:08:42 -05:00 committed by GitHub
parent 69f3beda4f
commit cae5928023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ if(enabledMods.includes(variablesMod)) {
return false;
};
} else if(propType === "array") {
array = propType.split(",");
array = propValue.split(",");
for(i = 0; i < array.length; i++) {
if(array[i].startsWith("s")) { //String
array[i] = array[i].substring(1);
@ -191,7 +191,7 @@ if(enabledMods.includes(variablesMod)) {
return false;
};
};
propType = array;
propValue = array;
} else if(propType !== "string") {
alert("Unrecognized or unsupported type!");
return false;