From e9046dbcdf2048fbbd713a4b896efe2756c4498a Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 19 Feb 2018 01:48:45 -0300 Subject: [PATCH] Fix score upload nocc flag logic --- src/DownloadManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DownloadManager.cpp b/src/DownloadManager.cpp index 8da8b03e07..bee9d00f01 100644 --- a/src/DownloadManager.cpp +++ b/src/DownloadManager.cpp @@ -559,7 +559,7 @@ inline void SetCURLPOSTScore(CURL*& curlHandle, curl_httppost*& form, curl_httpp SetCURLFormPostField(curlHandle, form, lastPtr, "rate", hs->GetMusicRate()); auto chart = SONGMAN->GetStepsByChartkey(hs->GetChartKey()); SetCURLFormPostField(curlHandle, form, lastPtr, "negsolo", chart->GetTimingData()->HasWarps() || chart->m_StepsType == StepsType_dance_single); - SetCURLFormPostField(curlHandle, form, lastPtr, "nocc", static_cast(hs->GetChordCohesion())); + SetCURLFormPostField(curlHandle, form, lastPtr, "nocc", static_cast(!hs->GetChordCohesion())); SetCURLFormPostField(curlHandle, form, lastPtr, "calc_version", hs->GetSSRCalcVersion()); SetCURLFormPostField(curlHandle, form, lastPtr, "topscore", hs->GetTopScore()); }