Corrected remaining cases of 'needReload' to 'needsReload'

This commit is contained in:
WBHarry 2026-07-19 23:21:46 +02:00
parent 27eb4a1430
commit e1337bfbf3
3 changed files with 5 additions and 5 deletions

View file

@ -281,7 +281,7 @@ export default class DhpChatLog extends foundry.applications.sidebar.tabs.ChatLo
async onRollReloadCheck(_event, messageData) {
const message = game.messages.get(messageData._id);
const needReload = await message.system.action.handleReload?.({ awaitRoll: true });
await message.update({ 'system.needsReload': needReload });
const needsReload = await message.system.action.handleReload?.({ awaitRoll: true });
await message.update({ 'system.needsReload': needsReload });
}
}