Skip to content

Commit

Permalink
Fix score upload nocc flag logic
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Feb 19, 2018
1 parent 7e03946 commit e9046db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<int>(hs->GetChordCohesion()));
SetCURLFormPostField(curlHandle, form, lastPtr, "nocc", static_cast<int>(!hs->GetChordCohesion()));
SetCURLFormPostField(curlHandle, form, lastPtr, "calc_version", hs->GetSSRCalcVersion());
SetCURLFormPostField(curlHandle, form, lastPtr, "topscore", hs->GetTopScore());
}
Expand Down

0 comments on commit e9046db

Please sign in to comment.