aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/printcommands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/printcommands.cpp')
-rw-r--r--NorthstarDLL/printcommands.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDLL/printcommands.cpp b/NorthstarDLL/printcommands.cpp
index 90af1575..d03d92c4 100644
--- a/NorthstarDLL/printcommands.cpp
+++ b/NorthstarDLL/printcommands.cpp
@@ -13,6 +13,8 @@ void PrintCommandHelpDialogue(const ConCommandBase* command, const char* name)
// temp because command->IsCommand does not currently work
ConVar* cvar = R2::g_pCVar->FindVar(command->m_pszName);
+ if (cvar)
+ return;
// build string for flags if not FCVAR_NONE
std::string flagString;