Use cities limit patch by default

This commit is contained in:
Vasilii Rogin 2024-04-19 12:55:51 +03:00 committed by GitHub
parent ea66287551
commit e119aa4c4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -77,10 +77,7 @@ bool sfallConfigInit(int argc, char** argv)
strcpy(path, SFALL_CONFIG_FILE_NAME); strcpy(path, SFALL_CONFIG_FILE_NAME);
} }
bool isSfallConfigExists = configRead(&gSfallConfig, path, false); configRead(&gSfallConfig, path, false);
if (!isSfallConfigExists) {
configSetBool(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_CITIES_LIMIT_FIX, false);
}
configParseCommandLineArguments(&gSfallConfig, argc, argv); configParseCommandLineArguments(&gSfallConfig, argc, argv);