autism bot added mask solid and racetimer wrote table names correct

This commit is contained in:
christian 2021-05-02 02:15:50 +02:00
parent 1f227eb1f6
commit bfb7e463e1

View File

@ -531,9 +531,9 @@ public void FinishedStageRaceZone(int client)
{
CPrintToChat(client, "Your record: None yet\nCommand: !toptime !mytime !stages");
if (l_iZoneCount < 2)
Format(sQuery, sizeof(sQuery), "UPDATE unloze_racetimer_css.zetimer SET `%s` = '%s', name = '%s' WHERE steam_auth = '%s'", g_cMapname, sTime, sEscapedName, sSID);
Format(sQuery, sizeof(sQuery), "UPDATE unloze_racetimer_css.zetimer_table SET `%s` = '%s', name = '%s' WHERE steam_auth = '%s'", g_cMapname, sTime, sEscapedName, sSID);
else
Format(sQuery, sizeof(sQuery), "UPDATE unloze_racetimer_css.zetimer SET `%sS%i` = '%s', name = '%s' WHERE steam_auth = '%s'", g_cMapname, stage, sTime, sEscapedName, sSID);
Format(sQuery, sizeof(sQuery), "UPDATE unloze_racetimer_css.zetimer_table SET `%sS%i` = '%s', name = '%s' WHERE steam_auth = '%s'", g_cMapname, stage, sTime, sEscapedName, sSID);
}
else
CPrintToChat(client, "Your record: %s\nCommand: !toptime !mytime !stages", g_csTime_record[client]);