PuzzleScriptPlus
PuzzleScriptPlus copied to clipboard
Some warnings get counted as errors
At parser.js line 64, if logWarning is called without a line number, it will call logWarningNoLine, which defaults to increaseErrorCount=true. The result (and the fix) are obvious. Warnings should not increase the error count.
The fix is line 76:
function logWarningNoLine(str,urgent, increaseErrorCount = true) {
should be
function logWarningNoLine(str,urgent, increaseErrorCount = false) {
BTW it really isn't worth a PR. Hope that's enough.
This bug is fixed in PS Next.