Fix Companion not updating Partner resources

This commit is contained in:
Dapoolp 2025-08-15 13:50:39 +02:00
parent 2ef36401d5
commit 3f2dcc91d9
2 changed files with 5 additions and 4 deletions

View file

@ -631,7 +631,7 @@ export default class DhpActor extends Actor {
}
async modifyResource(resources) {
if (!resources.length) return;
if (!resources?.length) return;
if (resources.find(r => r.key === 'stress')) this.convertStressDamageToHP(resources);
let updates = {