Howdy folks, I'm having an issue where change:token is called multiple times. The number of times it is called seems to differ between characters. With one character, I change the value of bar1, and I change:token is called 2 times. On another character in the same game, it is called 7 times. For testing purposes, I have disabled all scripts except the one in question, and stripped the script in question down to present the bug only. Does anyone know why this happens, and how to work around it? Thank you! var MASSIVEDAMAGE = MASSIVEDAMAGE || (function() {
'use strict';
var version = '0.1.2',
MassiveDamage,
HandleGraphic = function(obj, prev) {
log("test3")
},
RegisterEventHandlers = function() {
on('change:token', HandleGraphic);
};
return {
RegisterEventHandlers: RegisterEventHandlers
};
}());
on("ready", function() {
'use strict'
MASSIVEDAMAGE.RegisterEventHandlers();
log('MassiveDamage started...')
})