1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-13 00:28:10 -05:00

fix issue with selecting wrong parser during setup

add minimum name length option
fix issue with stats spm
This commit is contained in:
RaidMax
2021-06-27 20:31:39 -05:00
parent be6b84ef02
commit 27ad872e56
4 changed files with 14 additions and 8 deletions

View File

@ -65,7 +65,7 @@ namespace SharedLibraryCore.Configuration
{
RConParserVersion = rconParsers.FirstOrDefault(_parser => _parser.Name == selection.Item2)?.Version;
if (selection.Item1 > 0 && !rconParsers[selection.Item1 - 1].CanGenerateLogPath)
if (selection.Item1 > 0 && !rconParsers[selection.Item1].CanGenerateLogPath)
{
Console.WriteLine(loc["SETUP_SERVER_NO_LOG"]);
ManualLogPath = Utilities.PromptString(loc["SETUP_SERVER_LOG_PATH"]);