Fix download path generation

This commit is contained in:
Tixx
2025-06-19 17:56:59 +02:00
parent 51d096deac
commit 8025c0884f
5 changed files with 23 additions and 24 deletions
-4
View File
@@ -47,10 +47,6 @@ std::filesystem::path GetGamePath() {
std::string contents((std::istreambuf_iterator(startupIni)), std::istreambuf_iterator<char>());
startupIni.close();
if (contents.size() > 3) {
contents.erase(0, 3);
}
auto ini = Utils::ParseINI(contents);
if (ini.empty()) {
warn("Failed to parse startup.ini");