mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-06-22 08:31:07 +00:00
Fix download path generation
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user