From 226619f24b420593eed048c2fe0b07d2b9ab4824 Mon Sep 17 00:00:00 2001 From: zaCade Date: Sat, 26 Aug 2017 23:55:11 +0200 Subject: [PATCH] Fix SteamIDCache not beign created with empty cvar. --- src/zr/infect.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zr/infect.inc b/src/zr/infect.inc index a190fa1..b58e5d8 100644 --- a/src/zr/infect.inc +++ b/src/zr/infect.inc @@ -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(); } /**