Skip to content

Commit

Permalink
Fix champion stat aggregation
Browse files Browse the repository at this point in the history
  • Loading branch information
Derpthemeus committed Dec 28, 2017
1 parent 7551415 commit f92cc7c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -60,10 +60,10 @@ public void runOperation() {
stat.setVar2Total(stat.getVar2Total() + (long) result[2]);
stat.setVar3Total(stat.getVar3Total() + (long) result[3]);

stat.setTotalWins((long) result[4]);
stat.setTotalWins(stat.getTotalWins() + (long) result[4]);
stat.setLastPlayerId((long) result[5]);

session.saveOrUpdate(stat);
session.update(stat);
}

tx.commit();
Expand Down

0 comments on commit f92cc7c

Please sign in to comment.