hopefully preventing connection spam

This commit is contained in:
jenz 2023-04-24 23:36:50 +02:00
parent dea3d6b19b
commit 004889f308

View File

@ -215,7 +215,10 @@ public void OnMapStart()
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
public void OnConfigsExecuted() public void OnConfigsExecuted()
{ {
Database.Connect(SQL_OnDatabaseConnect, "season"); if (!g_hDatabase)
{
Database.Connect(SQL_OnDatabaseConnect, "season");
}
} }
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------