Keksuccino / FancyMenu

Source code for FancyMenu.
Other
164 stars 21 forks source link

Once-per-session ticker can't set variable to result of Web Text placeholder #891

Closed palette-dev closed 4 months ago

palette-dev commented 4 months ago

Describe the bug When a ticker on the title screen is set to tick once per session, it can't set a variable to the result of a Web Text placeholder when ticking If you set the ticker to tick once per load, it works if you enter another menu and exit back out to the title screen, but it still doesn't work on first load All other parts of the tickers action script still can execute normally

To Reproduce Steps to reproduce the behavior (e.g.):

  1. Create a ticker on the title screen
  2. Set the ticker to tick once per session
  3. Add the action to set a variable value to the result of a Web Text placeholder to the ticker
  4. Save the layout
  5. Quit and re-launch Minecraft
  6. The variable doesn't contain anything after loading the title screen (if the variable isn't empty before quitting and isn't set to clear on reload, it still doesn't contain anything afterwards)

Expected behavior The variable is successfully set to the result of the Web Text placeholder

Game Log latest.log

Basic Informations (please complete the following information):

Keksuccino commented 4 months ago

that's not really a bug, but a limitation of the asynchronous nature of the Web Text placeholder, so I can't really fix that, sorry.