Merge pull request #11324 from rjbernaldo/prevent-checklist-events-on-skill-use

This change prevents checklists from being toggled when casting skills or spells.
This commit is contained in:
Matteo Pagliazzi
2019-09-09 15:50:03 +02:00
committed by GitHub

View File

@@ -706,7 +706,7 @@ export default {
this.$emit('taskDestroyed', this.task); this.$emit('taskDestroyed', this.task);
}, },
castEnd (e, task) { castEnd (e, task) {
this.$root.$emit('castEnd', task, 'task', e); setTimeout(() => this.$root.$emit('castEnd', task, 'task', e), 0);
}, },
async score (direction) { async score (direction) {
if (this.castingSpell) return; if (this.castingSpell) return;