ThePix / QuestJS

A major re-write of Quest that is written in JavaScript and will run in the browser.
MIT License
66 stars 13 forks source link

BUG REPORT and fix(?) - Error when trying to throw an error from line 296 in parser.js #33

Closed KVonGit closed 3 years ago

KVonGit commented 3 years ago

https://github.com/ThePix/QuestJS/blob/e3b597416c252ed9c2a08dcb5f10d026724d58da/lib/_parser.js#L296

Existing: res.error = no_multiples_msg;

What works for me: res.error = lang.no_multiples_msg;


I just noticed the same thing on line 314 as well.

Cheers!

ThePix commented 3 years ago

Fixed, thanks