mjording / marvel-multiverse

Unofficial Marvel Multiverse Role Playing Game System for use with Foundry Virtual Tabletop. https://ko-fi.com/mjording
https://github.com/mjording/marvel-multiverse
Other
4 stars 1 forks source link

BUG: Error generating damage when using edge/trouble on roll (v1.6.2) #39

Closed WildBillLives closed 2 weeks ago

WildBillLives commented 2 weeks ago

Error in v1.6.2:

If you re-roll a die (using either Edge or Trouble) on an action check, the "Damage" button will then not work, i.e. clicking it does nothing. (If you do not re-roll a die then the damage button works perfectly fine...)

I get the following error in the console when this issue occurs:

Uncaught TypeError: Cannot read properties of null (reading 'innerHTML')
[Detected 1 package: system:marvel-multiverse(1.6.2)]
    at ChatMessageMarvel._onClickDamageButton (chat-message.mjs:253:71)