created a new table to fetch names from

This commit is contained in:
jenz 2024-07-14 20:07:59 +02:00
parent 2d869369c3
commit b354b75736

View File

@ -111,7 +111,7 @@ public void SQL_OnDatabaseConnect(Database db, const char[] error, any data)
public void randomize_names()
{
char sQuery[512];
Format(sQuery, sizeof(sQuery), "select name from unloze_racetimer_css.zetimer_table_new ORDER BY RAND() limit 500");
Format(sQuery, sizeof(sQuery), "select name from unloze_racetimer_css.random_names ORDER BY RAND() limit 500");
g_hDatabase.Query(SQL_OnQueryCompleted, sQuery, DBPrio_High);
}