Skip to content

Commit

Permalink
send noterows for both basic and full replays when uploading from disk
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 30, 2018
1 parent 4bab82f commit 10d4855
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1068,12 +1068,13 @@ 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 += to_string(rows[i]);

}
replayString += to_string(rows[i]);
replayString += "],";
}
replayString =
Expand Down

0 comments on commit 10d4855

Please sign in to comment.