justinross / foundry-bitd-alternate-sheets

MIT License
5 stars 11 forks source link

Clicking ability checkboxes doesn't seem to stick on the first try after adding a class. #17

Closed justinross closed 2 years ago

justinross commented 2 years ago
  1. Add a class to a sheet
  2. With the sheet still open, click an ability
  3. Ability will check then uncheck.
  4. Reopening the sheet will show the checked ability.
justinross commented 2 years ago

This only happens to the first ability you try to check after adding a class, and then stops happening as soon as you check another ability. No idea why. Seems like getData() is getting run before the ability gets added. Weird race condition maybe.