Skip to content

Commit

Permalink
Fix updater copying incorrect files introduced in a2fddb3 (#1568)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccw808 committed Jul 18, 2020
1 parent a2fddb3 commit ba00af8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Client/loader/MainFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,11 +640,7 @@ void ValidateGTAPath()
return ExitProcess(EXIT_ERROR);
}

SString strGTAPath = GetGTAPath();

// We can now set this
SetCurrentDirectory(strGTAPath);

const SString strGTAPath = GetGTAPath();
const SString strMTASAPath = GetMTASAPath();
if (strGTAPath.Contains(";") || strMTASAPath.Contains(";"))
{
Expand Down

0 comments on commit ba00af8

Please sign in to comment.