From 123691e550366d3f0fe884c8cbde7a65ac9313cf Mon Sep 17 00:00:00 2001 From: FutureRave Date: Fri, 11 Mar 2022 14:39:19 +0000 Subject: [PATCH] Fix assertion --- src/module/command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/command.cpp b/src/module/command.cpp index ce1a724..c8c38b0 100644 --- a/src/module/command.cpp +++ b/src/module/command.cpp @@ -163,7 +163,7 @@ void command::client_command_sp(int client_num, const char* s) { auto* entity = &game::native::sp::g_entities[client_num]; - assert(entity != nullptr); // On sp it should only be an assertion + assert(entity->client != nullptr); // On sp it should only be an assertion params_sv params;