hopefully fixed database connection
This commit is contained in:
parent
d2ef826790
commit
f3898a1663
@ -151,13 +151,8 @@ public void SQL_FinishedQuery(Database db, DBResultSet results, const char[] err
|
||||
|
||||
public void OnMapStart()
|
||||
{
|
||||
Database.Connect(SQL_OnDatabaseConnect, "racetimercss");
|
||||
}
|
||||
|
||||
public void OnMapEnd()
|
||||
{
|
||||
if (g_dDatabase != null)
|
||||
delete g_dDatabase;
|
||||
if (!g_dDatabase)
|
||||
Database.Connect(SQL_OnDatabaseConnect, "racetimercss");
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user