From f2b85d6829e047546c67d450f1f3efc750463d83 Mon Sep 17 00:00:00 2001 From: Jonathan <30329245+CookStar@users.noreply.github.com> Date: Sun, 10 Oct 2021 12:26:29 +0900 Subject: [PATCH] Fixed the deletion of ConVar/ConCommand not managed by Source.Python. --- src/core/sp_main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/sp_main.cpp b/src/core/sp_main.cpp index 6f1be1dcb..fe301e9e8 100755 --- a/src/core/sp_main.cpp +++ b/src/core/sp_main.cpp @@ -409,9 +409,6 @@ void CSourcePython::Unload( void ) DevMsg(1, MSG_PREFIX "Clearing all commands...\n"); ClearAllCommands(); - DevMsg(1, MSG_PREFIX "Unregistering ConVar...\n"); - ConVar_Unregister( ); - // New in CSGO... #if defined(ENGINE_CSGO) || defined(ENGINE_BLADE) DevMsg(1, MSG_PREFIX "Disconnecting interfaces...\n");