Skip to content

Commit

Permalink
Fix invalid json
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Nov 28, 2018
1 parent 2931fc8 commit 3e872ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1064,9 +1064,9 @@ DownloadManager::UploadScoreWithReplayDataFromDisk(string sk)
for (size_t i = 0; i < offsets.size(); i++) {
replayString += "[";
replayString += to_string(timestamps[i]) + ",";
replayString += to_string(1000.f * offsets[i]) + ",";
replayString += to_string(1000.f * offsets[i]);
if (hs->GetReplayType() == 2) {
replayString += to_string(columns[i]) + ",";
replayString += "," + to_string(columns[i]) + ",";
replayString += to_string(types[i]);
}
replayString += "],";
Expand Down

0 comments on commit 3e872ee

Please sign in to comment.