mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Fix integer issue with BricksCollected (#679)
This fixes an issue where BricksCollected goes to an insane number after selling more bricks than you collected in the area
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
struct ZoneStatistics {
|
||||
uint64_t m_AchievementsCollected;
|
||||
uint64_t m_BricksCollected;
|
||||
int64_t m_BricksCollected;
|
||||
uint64_t m_CoinsCollected;
|
||||
uint64_t m_EnemiesSmashed;
|
||||
uint64_t m_QuickBuildsCompleted;
|
||||
@@ -431,7 +431,7 @@ private:
|
||||
/**
|
||||
* The total amount of bricks collected by this character
|
||||
*/
|
||||
uint64_t m_BricksCollected;
|
||||
int64_t m_BricksCollected;
|
||||
|
||||
/**
|
||||
* The total amount of entities smashed by this character
|
||||
|
Reference in New Issue
Block a user