Fixed so that we do not run separate actor.modifyResource calls during actions and dice rolls

This commit is contained in:
WBHarry 2025-12-21 22:16:23 +01:00
parent 99d0eab5bd
commit d5859704c5
7 changed files with 158 additions and 96 deletions

View file

@ -75,7 +75,7 @@ export default class CostField extends fields.ArrayField {
}
}, []);
await actor.modifyResource(resources);
config.resourceUpdates.addResources(resources);
}
/**