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 Dec 28, 2022
1 parent 5032224 commit 5129869
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 @@ -496,7 +496,7 @@ class CharacterMonitor {
const oldValue = actor.system.currency[currency];

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

hbsData.currency = {
label: currency,
Expand Down

0 comments on commit 5129869

Please sign in to comment.