Fixed duality roll buttons

This commit is contained in:
WBHarry 2025-06-13 01:12:01 +02:00
parent 75ee44af52
commit 01aa1b4bdd
3 changed files with 11 additions and 10 deletions

View file

@ -271,8 +271,8 @@ export default class DhpActor extends Actor {
}
formatRollModifier(roll) {
const modifier = roll.modifier ? Number.parseInt(roll.modifier) : null;
return roll.modifier !== null
const modifier = roll.modifier !== null ? Number.parseInt(roll.modifier) : null;
return modifier !== null
? [
{
value: modifier,