Skip to content
Permalink
Browse files

Merge pull request #676 from lusbenjamin/bugfix-economy-orbs

bugfix labels.trackUpdate handles zero orbs
  • Loading branch information...
Manuel-777 committed Oct 28, 2019
2 parents 9072d8a + fe55218 commit b18e82012b112c70e2860be19c425e342860987c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/window_background/labels.js
@@ -990,8 +990,8 @@ function trackUpdate(entry, trackUpdate) {
// For some reason, orbs live separately from all other inventory
if (
orbCountDiff &&
orbCountDiff.oldOrbCount &&
orbCountDiff.currentOrbCount &&
orbCountDiff.oldOrbCount !== undefined &&
orbCountDiff.currentOrbCount !== undefined &&
orbCountDiff.currentOrbCount - orbCountDiff.oldOrbCount
) {
const data = { trackName, trackTier, orbCountDiff };

0 comments on commit b18e820

Please sign in to comment.
You can’t perform that action at this time.