Chasyxx / EnBeat_NEW

Bytebeat player with a collection of many formulas from around the internet.
https://chasyxx.github.io/EnBeat_NEW/
MIT License
9 stars 6 forks source link

Seed does not update on code change #1

Closed Chasyxx closed 1 year ago

Chasyxx commented 1 year ago

It only updates on page refresh

Despite the fact that MAT.seed() is called with ForTitle set as true in the bytebeat.setFunction() and bytebeat.loadCode() functions, the title HTML element is not updated when a change is made in the input code.

Chasyxx commented 1 year ago

Extestion: Website thinks it's being tested locally on the global website. Change scripts to fix this

Chasyxx commented 1 year ago

Script fixed: Only check for local test when the 2nd menu is opened. The script now detects it's a global version, and the seed now updates correctly.