} else if (currentPriority > highestPriority) {
priorityEffects = [];
priorityEffects.push(currentEffect);
}
You forgot to actually set highestPriority to currentPriority in this branch, so every action with a non-zero priority is treated as though it had a higher priority than whatever action was processed immediately beforehand, while any zero priority actions processed afterwards will be treated as though they had equal priority to it.
But thanks for this; I was afraid I'd have to write my own victory quotes extension, and this does so much more than just victory quotes.
priorityEffects = [];
priorityEffects.push(currentEffect);
}
You forgot to actually set highestPriority to currentPriority in this branch, so every action with a non-zero priority is treated as though it had a higher priority than whatever action was processed immediately beforehand, while any zero priority actions processed afterwards will be treated as though they had equal priority to it.
But thanks for this; I was afraid I'd have to write my own victory quotes extension, and this does so much more than just victory quotes.
Thanks for the catch, it's been changed in the latest update just now.
Hey, DreamX, I've been having a "bug" where sometimes, after the last enemy is killed, another action takes place during the Victory Screen. Only after I perform another action the quotes show up.
Could this be the cause to it? I tried messing with the code a little bit but couldn't fix it. Any ideas?
Could this be the cause to it? I tried messing with the code a little bit but couldn't fix it. Any ideas?
Try the latest update and if it still has problems, please upload a demo using this http://himeworks.com/2016/01/super-small-debug-demo/
showcasing the problem to dropbox.com and I'll try to fix it.
