mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
allow prompt string to have an empty/default value
upgrade some project dependencies don't try to run events on parsers update top players rank distribution
This commit is contained in:
@ -645,7 +645,7 @@ namespace SharedLibraryCore
|
||||
{
|
||||
Console.Write($"{question}{(string.IsNullOrEmpty(description) ? "" : $" ({description})")}{(defaultValue == null ? "" : $" [{CurrentLocalization.LocalizationIndex["SETUP_PROMPT_DEFAULT"]} {defaultValue}]")}: ");
|
||||
response = inputOrDefault();
|
||||
} while (string.IsNullOrWhiteSpace(response));
|
||||
} while (string.IsNullOrWhiteSpace(response) && response != defaultValue);
|
||||
|
||||
return response;
|
||||
}
|
||||
|
Reference in New Issue
Block a user