Skip to content

Commit

Permalink
Update dnd5e-character-monitor.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jessev14 committed Mar 4, 2022
1 parent b4ec1e2 commit c65e227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dnd5e-character-monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ class CharacterMonitor {
// Currency changes
if (game.settings.get(moduleName, "monitorCurrency") && ("currency" in (data.data || {}))) {
for (const [currency, newValue] of Object.entries(data.data.currency)) {
//const oldValue = actor.data.data.currency[currency];
const oldValue = actor.data.data.currency[currency];

// Ignore any updates that attempt to change values between zero <--> null.;
if (newValue === null) continue;
Expand Down

0 comments on commit c65e227

Please sign in to comment.