Skip to content

Commit

Permalink
Rename preferences to force them to change
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Aug 6, 2018
1 parent 88b43bc commit 7994e13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ shared_ptr<DownloadManager> DLMAN = nullptr;

static Preference<unsigned int> maxDLPerSecond("maximumBytesDownloadedPerSecond", 0);
static Preference<unsigned int> maxDLPerSecondGameplay("maximumBytesDownloadedPerSecondDuringGameplay", 300000);
static Preference<RString> packListURL("getPackListURL", "https://api.etternaonline.com/v2/packs");
static Preference<RString> serverURL("UploadServerAPIURL", "https://api.etternaonline.com/v2");
static Preference<RString> packListURL("PackListURL", "https://api.etternaonline.com/v2/packs");
static Preference<RString> serverURL("BaseAPIURL", "https://api.etternaonline.com/v2");
static Preference<unsigned int> automaticSync("automaticScoreSync", 1);
static Preference<unsigned int> downloadPacksToAdditionalSongs("downloadPacksToAdditionalSongs", 0);
static const string TEMP_ZIP_MOUNT_POINT = "/@temp-zip/";
Expand Down Expand Up @@ -678,7 +678,7 @@ bool DownloadManager::ShouldUploadScores()
inline void SetCURLPOSTScore(CURL*& curlHandle, curl_httppost*& form, curl_httppost*& lastPtr, HighScore*& hs)
{
SetCURLFormPostField(curlHandle, form, lastPtr, "scorekey", hs->GetScoreKey());
SetCURLFormPostField(curlHandle, form, lastPtr, "ValidString", hs->GenerateValidationKeys());
hs->GenerateValidationKeys();
SetCURLFormPostField(curlHandle, form, lastPtr, "ssr_norm", hs->norms);
SetCURLFormPostField(curlHandle, form, lastPtr, "max_combo", hs->GetMaxCombo());
SetCURLFormPostField(curlHandle, form, lastPtr, "valid", static_cast<int>(hs->GetEtternaValid()));
Expand Down

0 comments on commit 7994e13

Please sign in to comment.