Skip to content

Commit

Permalink
actually actually actually load v1s in v2 folder
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 19, 2020
1 parent 780cc58 commit 369d85b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Etterna/Models/Misc/HighScore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,14 @@ HighScore::LoadReplayDataFull(string dir)
while (ss >> buffer)
tokens.emplace_back(buffer);

// probably replaydatav1 in the wrong folder, we could throw a trace or
// a warn but i feel like nobody will care or do anything about it and
// it will just pollute the log, nobody is going to parse the log and
// properly split up their replays back into the respective folders
// so...
if (tokens.size() < 3)
return LoadReplayDataBasic(dir);

if (tokens[0] == "H") {
HoldReplayResult hrr;
hrr.row = std::stoi(tokens[1]);
Expand Down

0 comments on commit 369d85b

Please sign in to comment.