
I am experiencing the bug cited in these two threads: <a href="https://app.roll20.net/forum/post/7010879/slug%7D#newtopic" rel="nofollow">https://app.roll20.net/forum/post/7010879/slug%7D#newtopic</a> <a href="https://app.roll20.net/forum/post/5772323/slug%7D" rel="nofollow">https://app.roll20.net/forum/post/5772323/slug%7D</a> My work around is: previousValue = (previousValue === newValue) ? 0:previousValue; This seems to work reliably when previsousValue is an integer (have not run into this with strings...yet), as I only encounter this specific bug when the corresponding field only has the default value, in this case 0, as assigned by the HTML.