oEtG Forum

General Category => Game Bugs => Fixed Bugs => Topic started by: cg on September 17, 2018, 02:44:26 am

Title: innorico win bug
Post by: cg on September 17, 2018, 02:44:26 am
RangeError: invalid array length, https://etg.dek.im/bundle.main.js, 3591, 7, RangeError: invalid array length
Title: Re: innorico win bug
Post by: serprex on September 30, 2018, 01:41:59 am
So this happens because it turns out '[].length--' is an error, & I thought it'd be a nop. Yay me not knowing javascript

https://github.com/serprex/openEtG/commit/3a19d79c65b83eb8235431d4403ccd44cc929963