diff --git a/recursive-macro.js b/recursive-macro.js index b8ea406..66cfc4b 100644 --- a/recursive-macro.js +++ b/recursive-macro.js @@ -942,7 +942,7 @@ function defaultDescribe(verbose = true, parent, descAs) { break; } if (verbose) { - if (parent.count = 1) { //singular parent (specifying single to catch cases where groupLessThan3 = true, otherwise it would output "1 towns" instead of "a town" + if (parent.count == 1) { //singular parent (specifying single to catch cases where groupLessThan3 = true, otherwise it would output "1 towns" instead of "a town" if (things[parent.name].contents.length > 0) { return (things[parent.name].descriptor[0] + descriptorConjunction + describe_all(parent.contents, false) + descriptorEnd); } else {