oEtG Forum

Two Bugs

gomorycut

  • Member
  • **
    • Posts: 34
(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.


timpa

  • Member
  • **
    • Posts: 462
  • New to Elements
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)?
:chroma :gravity :time


serprex

  • Global Moderator
  • *****
    • Posts: 1543
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
« Last Edit: November 19, 2017, 03:56:02 pm by serprex »