aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)