forgot to re-add the map specific stuff
This commit is contained in:
parent
f3898a1663
commit
bec3117150
@ -153,6 +153,19 @@ public void OnMapStart()
|
||||
{
|
||||
if (!g_dDatabase)
|
||||
Database.Connect(SQL_OnDatabaseConnect, "racetimercss");
|
||||
else
|
||||
{
|
||||
static Handle hHostName;
|
||||
if((hHostName = FindConVar("hostname")) == INVALID_HANDLE)
|
||||
return;
|
||||
char line[g_dLength];
|
||||
GetConVarString(hHostName, line, sizeof(line));
|
||||
if (StrContains(line, "EVENT", false) > -1)
|
||||
g_bEventBool = true;
|
||||
g_bDisplaySpecial = unloze_gBSpecialMapDisplay();
|
||||
GetCurrentMap(g_cMapname, sizeof(g_cMapname));
|
||||
startTimer();
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user