From 824ad9c15d10bb7c434ddfaa15645ed0a671a9d2 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Mon, 26 Feb 2024 22:55:30 +0800 Subject: [PATCH] [server] Update `CConsole::Execute(...)` --- server/console.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/console.cpp b/server/console.cpp index f796f24..2bc8454 100644 --- a/server/console.cpp +++ b/server/console.cpp @@ -397,4 +397,9 @@ void CConsole::Execute(char* pExecLine) } } + ConsoleVariable_s* ConVar = FindVariable(cmd); + if (ConVar != NULL) + { + return; + } }