maybe needed check

This commit is contained in:
jenz 2023-04-24 23:21:17 +02:00
parent c585d124fc
commit 6b3d5a615b

View File

@ -24,9 +24,12 @@ public void OnMapStart()
} }
public void OnPluginStart() public void OnPluginStart()
{
if (!g_hDatabase)
{ {
Database.Connect(SQL_OnDatabaseConnect, "racetimercss"); Database.Connect(SQL_OnDatabaseConnect, "racetimercss");
} }
}
public void SQL_OnDatabaseConnect(Database db, const char[] error, any data) public void SQL_OnDatabaseConnect(Database db, const char[] error, any data)
{ {