X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bigscreen%2Ffetch_group.cpp;h=75e458a4f9b80ed9c60c598935c3ca51846ffa77;hb=6cf5f0348c59d9e8e4d740572b5bfbaa74b9bf56;hp=bdaa0c9a9b309e469e24fde3db634eb51d983030;hpb=c6fba5909e3fcfd741e337b76c5d4228e81444e4;p=ccbs diff --git a/bigscreen/fetch_group.cpp b/bigscreen/fetch_group.cpp index bdaa0c9..75e458a 100644 --- a/bigscreen/fetch_group.cpp +++ b/bigscreen/fetch_group.cpp @@ -52,6 +52,7 @@ void FetchGroup::operator() (pqxx::transaction<> &t) sc.score = -1; } else { sc.score = i["score"].as(sc.score); + curr_group.players[curr_group.players.size() - 1].total += sc.score; } curr_group.players[curr_group.players.size() - 1].scores.push_back(sc);