hopefully preventing connection spam

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

View File

@ -214,9 +214,12 @@ public void OnMapStart()
// Purpose: // Purpose:
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
public void OnConfigsExecuted() public void OnConfigsExecuted()
{
if (!g_hDatabase)
{ {
Database.Connect(SQL_OnDatabaseConnect, "season"); Database.Connect(SQL_OnDatabaseConnect, "season");
} }
}
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
// Purpose: // Purpose: