X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Fgroupscreen.cpp;fp=bigscreen%2Fgroupscreen.cpp;h=88fce1cc03606f527cce3c12158cd641c2956466;hp=6b2ad3d5ae6ff83778710ea1df6aaf08b0a1dc96;hb=6bd21f38c6a860ba75ea98f2404c83d9bd55498a;hpb=7490ced526e0ac9a19d62b95a81244c1d01df226 diff --git a/bigscreen/groupscreen.cpp b/bigscreen/groupscreen.cpp index 6b2ad3d..88fce1c 100644 --- a/bigscreen/groupscreen.cpp +++ b/bigscreen/groupscreen.cpp @@ -27,13 +27,12 @@ bool GroupScreen::check_invalidated() return true; if (!scores_changed.get_flag()) return false; + scores_changed.reset_flag(); bool needs_update; conn.perform(FetchNeedsUpdate(last_updated, tournament, round, parallel, &needs_update)); - if (!needs_update) - scores_changed.reset_flag(); - + valid = !needs_update; return needs_update; }