When editing a game instance as scenarist, editor related actions provokes a "Maximum update depth exceeded" loop rendering the page unusable after a short while. There seems to be some self referencing state inside a useEffect as specified in the given console error: "Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."
Steps to reproduce:
Create a game (react) instance as trainer and go into scenarist mode on it
Run any form of script in either console or try to save new lines into the src editor
When editing a game instance as scenarist, editor related actions provokes a "Maximum update depth exceeded" loop rendering the page unusable after a short while. There seems to be some self referencing state inside a useEffect as specified in the given console error: "Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."
Steps to reproduce: