diff --git a/RaceTimer/scripting/unloze_racetimer_redux.sp b/RaceTimer/scripting/unloze_racetimer_redux.sp index 254c412e..ac44b2eb 100644 --- a/RaceTimer/scripting/unloze_racetimer_redux.sp +++ b/RaceTimer/scripting/unloze_racetimer_redux.sp @@ -20,7 +20,7 @@ char g_cSpecialMapStart[g_dLength]; char g_cSpecialMapEnd[g_dLength]; static char g_sConfigzones[PLATFORM_MAX_PATH]; float g_fStartTime[MAXPLAYERS + 1]; -char g_csTime_record[MAXPLAYERS + 1][64]; +char g_csTime_record[MAXPLAYERS + 1][65]; float g_fClientVectors[MAXPLAYERS + 1][3]; int g_iClientFrames[MAXPLAYERS + 1]; int g_iClientSpeedInterval[MAXPLAYERS + 1]; @@ -155,6 +155,8 @@ public void SQL_OnConnectFinished(Database db, DBResultSet results, const char[] GetConVarString(hHostName, line, sizeof(line)); if (StrContains(line, "EVENT", false) > -1) g_bEventBool = true; + else + g_bEventBool = false; g_bDisplaySpecial = unloze_gBSpecialMapDisplay(); GetCurrentMap(g_cMapname, sizeof(g_cMapname)); startTimer(); @@ -219,6 +221,8 @@ public void OnMapStart() GetConVarString(hHostName, line, sizeof(line)); if (StrContains(line, "EVENT", false) > -1) g_bEventBool = true; + else + g_bEventBool = false; g_bDisplaySpecial = unloze_gBSpecialMapDisplay(); GetCurrentMap(g_cMapname, sizeof(g_cMapname)); startTimer();