Hardcode single-only songs for now.
[ccbs] / bigscreen / fetch_max_score_for_players.cpp
index 3a89541..3aa66b7 100644 (file)
@@ -26,6 +26,7 @@ void FetchMaxScoreForPlayers::operator() (pqxx::transaction<> &t)
                "          AND song IS NOT NULL" +
                "          AND ( chosen='t' OR round=" + pqxx::to_string(round) + " )"
                "       )"
+               "     AND playmode='single'"
                "     ORDER BY feetrating DESC LIMIT 1"      
                "  ) * 1000 AS max_score FROM tournamentparticipation") );