Fix moral sur dissolution

This commit is contained in:
Vincent Vandemeulebrouck
2021-03-18 00:41:26 +01:00
parent a86ac0ffa2
commit a44904ebc0
4 changed files with 12 additions and 8 deletions

View File

@ -125,7 +125,7 @@ export class RdDRoll extends Dialog {
if (action.callbacks)
for (let callback of action.callbacks) {
if (callback.condition == undefined || callback.condition(this.rollData)) {
callback.action(this.rollData);
await callback.action(this.rollData);
}
}
}