mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Corrected remaining cases of 'needReload' to 'needsReload'
This commit is contained in:
parent
27eb4a1430
commit
e1337bfbf3
3 changed files with 5 additions and 5 deletions
|
|
@ -139,7 +139,7 @@ export default class DHRoll extends BaseRoll {
|
|||
item?.system.hasReload &&
|
||||
action?.type === 'attack' &&
|
||||
reloadSetting === CONFIG.DH.SETTINGS.reloadChoices.auto.id;
|
||||
const needReload = useReload ? await action?.handleReload?.() : false;
|
||||
const needsReload = useReload ? await action?.handleReload?.() : false;
|
||||
|
||||
const cls = getDocumentClass('ChatMessage'),
|
||||
msgData = {
|
||||
|
|
@ -148,7 +148,7 @@ export default class DHRoll extends BaseRoll {
|
|||
title: roll.title,
|
||||
speaker: cls.getSpeaker({ actor: roll.data?.parent }),
|
||||
sound: config.mute ? null : CONFIG.sounds.dice,
|
||||
system: { ...config, actionDescription, needReload },
|
||||
system: { ...config, actionDescription, needsReload },
|
||||
rolls: [roll]
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue