X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bigscreen%2Ffetch_group.cpp;h=75e458a4f9b80ed9c60c598935c3ca51846ffa77;hb=b3ef74a8872266e9162444a6626770b29beb03ca;hp=bdaa0c9a9b309e469e24fde3db634eb51d983030;hpb=6cd673299df1e8eaabdf6e538b19dc617514c82a;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);