forgot to re-add the map specific stuff

This commit is contained in:
Christian 2021-03-09 10:32:51 +01:00
parent f3898a1663
commit bec3117150

View File

@ -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();
}
}
//----------------------------------------------------------------------------------------------------