added return fix

This commit is contained in:
christian 2021-05-03 09:41:03 +02:00
parent 7cf253a076
commit c5a6e30ca8

View File

@ -665,7 +665,10 @@ public void insertPlayerMYSQL(int client)
int size2 = 2 * strlen(sName) + 1;
char[] sEscapedName = new char[size2 + 1];
if (!g_dDatabase)
{
Database.Connect(SQL_OnDatabaseConnect, "racetimercss");
return;
}
g_dDatabase.Escape(sName, sEscapedName, size2 + 1);
if (StrEqual(sSID, "STEAM_ID_STOP_IGNORING_RETVALS") || StrEqual(sSID, "STEAM_ID_PENDING"))
{