mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user