finish moving all code to libarchive

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2025-07-11 21:54:33 +03:00
parent f38a0c8f98
commit 30ef158716
4 changed files with 67 additions and 109 deletions

View File

@@ -133,8 +133,7 @@ static std::tuple<bool, QString, bool> contains_level_dat(QString fileName)
// Check that there's nothing between worldName/ and level.dat
if (remaining == "level.dat") {
QString worldDir = (saves ? "saves/" : "") + worldName;
return std::make_tuple(true, worldDir, saves);
return std::make_tuple(true, worldName, saves);
}
}