update comment

This commit is contained in:
Lily-129 2022-01-27 16:44:36 -05:00 committed by GitHub
parent 710a7c0e91
commit f5041e1b97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6397,7 +6397,7 @@ for (var k = 0; k < b0.split(" AND ").length; k++) {
for (var i = 0; i < width; i++) {
pixelMap[i] = [];
}
// randomChoices = the keys of "elements" with "filler", "lattice", "gray_goo", and any element with the category "tools" removed
// randomChoices = the keys of "elements" with any element with the category "tools" or the property excludeRandom set to true removed
randomChoices = Object.keys(elements).filter(function(e) {
return elements[e].excludeRandom != true && elements[e].category != "tools";
});