Skip to content

Commit c972472

Browse files
committed
fix: extra arg
1 parent 3edc34d commit c972472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Features/ConfigPlus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static void SavePersistentSvars() {
5656
}
5757

5858
CON_COMMAND_F(sar_download_file, "sar_download_file <url> <filepath> [directory] - Downloads a file from a URL and saves it to a path relative to game directory (e.g. portal2)\nIf directory isn't specified or invalid, looks for and overwrites existing file or uses base game directory\n", FCVAR_DONTRECORD) {
59-
if (args.ArgC() < 3 || args.ArgC() > 5 || !args[1][0] || !args[2][0]) {
59+
if (args.ArgC() < 3 || args.ArgC() > 4 || !args[1][0] || !args[2][0]) {
6060
return console->Print(sar_download_file.ThisPtr()->m_pszHelpString);
6161
}
6262

0 commit comments

Comments
 (0)