1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2026-10-10 11:53:05 +08:00

Reset cvar/cmd reg list roots in ConVar_Unregister (#429)

This commit is contained in:
Michal
2026-09-25 20:46:10 +02:00
committed by GitHub
parent fedf267362
commit 394a726dcf
+4
View File
@@ -98,6 +98,8 @@ void ConCommandRegList::UnregisterAll()
prev = list->m_pPrev;
delete list;
};
s_pRoot = nullptr;
}
}
@@ -195,6 +197,8 @@ void ConVarRegList::UnregisterAll()
prev = list->m_pPrev;
delete list;
};
s_pRoot = nullptr;
}
}