diff options
Diffstat (limited to 'NorthstarDedicatedTest/sourceconsole.cpp')
-rw-r--r-- | NorthstarDedicatedTest/sourceconsole.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/sourceconsole.cpp b/NorthstarDedicatedTest/sourceconsole.cpp index 88d038df..d5c7e347 100644 --- a/NorthstarDedicatedTest/sourceconsole.cpp +++ b/NorthstarDedicatedTest/sourceconsole.cpp @@ -16,6 +16,9 @@ void ConCommand_toggleconsole(const CCommand& arg) void ConCommand_help(const CCommand& arg) { + if (arg.ArgC() < 2) + return; + // todo: this should basically just call FindConVar once we have that working, then just print convar.GetHelpString } |