Skip to content

Commit f2b85d6

Browse files
committed
Fixed the deletion of ConVar/ConCommand not managed by Source.Python.
1 parent 28de8d3 commit f2b85d6

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/core/sp_main.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,6 @@ void CSourcePython::Unload( void )
409409
DevMsg(1, MSG_PREFIX "Clearing all commands...\n");
410410
ClearAllCommands();
411411

412-
DevMsg(1, MSG_PREFIX "Unregistering ConVar...\n");
413-
ConVar_Unregister( );
414-
415412
// New in CSGO...
416413
#if defined(ENGINE_CSGO) || defined(ENGINE_BLADE)
417414
DevMsg(1, MSG_PREFIX "Disconnecting interfaces...\n");

0 commit comments

Comments
 (0)