Skip to content

Commit

Permalink
fix: duplicate keys in gear stats graphs
Browse files Browse the repository at this point in the history
closes #242
  • Loading branch information
DorielRivalet committed Jan 14, 2024
1 parent 9648b08 commit 5b363cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MHFZ_Overlay/Services/DatabaseService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11328,6 +11328,8 @@ GROUP BY
var field = reader.GetInt32(0);
var count = reader.GetInt32(1);
var pieceName = ArmorChest.IDName[field];
if (fieldCounts.ContainsKey(pieceName))
continue;
fieldCounts.Add(pieceName, count);
}
}
Expand Down

0 comments on commit 5b363cf

Please sign in to comment.