From 369d85bad8966daa485080876bf8f7d2b6523dfa Mon Sep 17 00:00:00 2001 From: "born a rick, raised a morty, died a jerry" Date: Tue, 19 May 2020 11:29:32 -0400 Subject: [PATCH] actually actually actually load v1s in v2 folder --- src/Etterna/Models/Misc/HighScore.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Etterna/Models/Misc/HighScore.cpp b/src/Etterna/Models/Misc/HighScore.cpp index 8526129e0a..f2576dc9a6 100644 --- a/src/Etterna/Models/Misc/HighScore.cpp +++ b/src/Etterna/Models/Misc/HighScore.cpp @@ -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]);