Closed gonzaPaEst closed 3 years ago
After a lot of troubleshooting, I've discovered that it is Foundry-wide issue. If the module has multiple options that would require a reload(), Foundry is able to register up to two changes before reloading.
Adding a 1-second timeout to the onChange function fixes the issue:
onChange: () => setTimeout(() => {
location.reload();
}, 1000)
It seems to be happening once a second world is created.