Fix SteamIDCache not beign created with empty cvar.

This commit is contained in:
zaCade 2017-08-26 23:55:11 +02:00
parent c06ddc3fcd
commit 226619f24b
1 changed files with 3 additions and 3 deletions

View File

@ -110,6 +110,9 @@ InfectOnMapEnd()
*/
InfectLoad()
{
// Create mother zombie round-robin cycle storage.
g_hInfectMotherCycle = SteamidCacheCreate();
// Get infection sound.
decl String:sound[PLATFORM_MAX_PATH];
GetConVarString(g_hCvarsList[CVAR_INFECT_SOUND], sound, sizeof(sound));
@ -125,9 +128,6 @@ InfectLoad()
// Add sound file to downloads table.
AddFileToDownloadsTable(sound);
// Create mother zombie round-robin cycle storage.
g_hInfectMotherCycle = SteamidCacheCreate();
}
/**