aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2023-10-21 14:50:25 +0200
committerJan200101 <sentrycraft123@gmail.com>2023-10-21 14:50:25 +0200
commit20985163ab550b1ec6d03fa80fed41c2403ccb79 (patch)
tree42ef0adfc605beee32f371e75c98c6c1a8fc0ecf /src
parent1683f0f4b1d275d19052aa06626efd5b575ec6bb (diff)
downloadSouthRPC-20985163ab550b1ec6d03fa80fed41c2403ccb79.tar.gz
SouthRPC-20985163ab550b1ec6d03fa80fed41c2403ccb79.zip
don't Cbuf_Executecat-v3
Diffstat (limited to 'src')
-rw-r--r--src/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin.cpp b/src/plugin.cpp
index 179a802..5d527bb 100644
--- a/src/plugin.cpp
+++ b/src/plugin.cpp
@@ -283,7 +283,7 @@ void Plugin::RunCommand(const char* cmd)
ECommandTarget_t cur_player = this->engine_funcs.Cbuf_GetCurrentPlayer();
this->engine_funcs.Cbuf_AddText(cur_player, cmd, cmd_source_t::kCommandSrcCode);
- //this->engine_funcs.Cbuf_Execute(); Crashes?
+ // Don't call Cbuf_Execute, this gets executed somewhere along the way
}
SQRESULT Plugin::RunSquirrelCode(ScriptContext context, std::string code, SQObject* ret_val)