소스 검색

Fix an assignment being used instead of a conditional

This was breaking the description of verbose actions.
master
Fen Dweller 5 년 전
부모
커밋
95e614d69f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      recursive-macro.js

+ 1
- 1
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 {


불러오는 중...
취소
저장