mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
Fixed duality roll buttons
This commit is contained in:
parent
75ee44af52
commit
01aa1b4bdd
3 changed files with 11 additions and 10 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue