potentially fixed the cause as to why the timer sometimes just would disable
This commit is contained in:
parent
9af43805f8
commit
14e70db53c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user