Skip to content

Commit

Permalink
Avoid interfering with GTA mods that are desired by a custom build/fork
Browse files Browse the repository at this point in the history
This stops custom clients (build type unstable) from loading clean files in place of certain mods, simplifying development testing processes as well as not giving forks more problems than neccesary. Bottom line: non-official MTA releases (custom build, fork) don't require advanced features like this to be used by default.
  • Loading branch information
Dutchman101 committed Jun 24, 2023
1 parent acec42c commit 2eebc79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Client/loader/Main.cpp
Expand Up @@ -42,6 +42,10 @@ MTAEXPORT int DoWinMain(HINSTANCE hLauncherInstance, HINSTANCE hPrevInstance, LP
// Init
//

// Enable "Use customized GTA:SA files" by default
SetApplicationSettingInt("customized-sa-files-request", 1);
SetApplicationSettingInt("customized-sa-files-show", 1);

// Let install manager figure out what MTASA path to use
GetInstallManager()->SetMTASAPathSource(lpCmdLine);

Expand Down

0 comments on commit 2eebc79

Please sign in to comment.