Fixed stat overrite bug.

This commit is contained in:
Jonathan Williams 2015-02-23 00:45:45 -08:00
parent 0a2e11e8bc
commit e1818a9c32

View File

@ -111,7 +111,7 @@ public class StatsManager extends MiniDbClientPlugin<PlayerStats>
_statUploadQueue.get(player).put(statName, 0);
}
_statUploadQueue.get(player).put(statName, value);
_statUploadQueue.get(player).put(statName, _statUploadQueue.get(player).get(statName) + value);
}
protected void saveStats()