Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

[BUG / API] Deleting a token does not trigger change:campaign:turnorder

on("change:campaign:turnorder", function (obj, prev) {     log ("Turn order change detected."); }); To replicate... use that script, add a bunch of tokens to the turn order, and start deleting tokens. It won't detect any changes to the turn order even though the tokens are being removed visually from the turn order tracker because they are not being removed from the turnorder campaign object.
Thank you for bringing this to our attention. I have logged it as a bug ticket for the devs!