oEtG Forum

General Category => Game Bugs => Fixed Bugs => Topic started by: gomorycut on November 14, 2017, 03:16:34 am

Title: Two Bugs
Post by: gomorycut on November 14, 2017, 03:16:34 am
(1) When modifying a deck and trying to press the "save" button, it seems to throw this error:

Uncaught TypeError: Cannot read property 'deckname' of undefined, https://etg.dek.im/bundle.main.js, 1, 76169, TypeError: Cannot read property 'deckname' of undefined

(2) When playing one of the first two daily challenges, on the 2nd game of the challenge, it seems to be trying to play multiple game instances at the same time and it continuously jumps between the multiple games within a turn.
Title: Re: Two Bugs
Post by: timpa on November 16, 2017, 11:37:04 am
Number (2) is exactly the bug I reported, try playing the daily challenges using mouse only (no spacebar) and see if it works for you.

Did number (1) happen after number (2)?
Title: Re: Two Bugs
Post by: serprex on November 19, 2017, 02:31:55 pm
Oh dailies.. thought it was in general. will look into

Figured it out: I rely on componentWillUnmount to clear out the game timer which is still used to drive effects/ai/keyevents. But in endurance the component doesn't get unmounted. Will post a fix, including fix to save button