diff --git a/src/common/console/c_cvars.cpp b/src/common/console/c_cvars.cpp index fe19246d4..1c6df1e24 100644 --- a/src/common/console/c_cvars.cpp +++ b/src/common/console/c_cvars.cpp @@ -1507,7 +1507,13 @@ CCMD (resetcvar) { FBaseCVar *var = FindCVar (argv[1], NULL); if (var != NULL) + { var->ResetToDefault(); + } + else + { + Printf ("No such variable: %s\n", argv[1]); + } } }