Register ConCommands as early as possible

This commit is contained in:
Amos
2022-01-19 23:46:14 +01:00
parent f418d36e1b
commit df3bfafce6
3 changed files with 2 additions and 4 deletions

View File

@@ -22,6 +22,8 @@ bool HIApplication_Create(void* a1)
// Also add cross-season support?
* (uintptr_t*)0x162C61208 = 0x1; // g_bDedicated
#endif // DEDICATED
g_pConCommand->Init();
for (auto& map : g_pCVar->DumpToMap())
{
g_vsvAllConVars.push_back(map.first.c_str());