Fix submit on close

This commit is contained in:
Dapoolp 2025-06-22 23:43:48 +02:00
parent 6223b05eb1
commit 0d60cd90b6
6 changed files with 27 additions and 6 deletions

View file

@ -220,6 +220,7 @@ export class DHBaseAction extends foundry.abstract.DataModel {
// Proceed with Roll
config = await this.proceedRoll(config);
if(!config) return;
// Update Actor resources based on Action Cost configuration
this.spendCost(config.costs.values);