mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08:26 +00:00
Merge e8a96e68ee into 7cbb250541
This commit is contained in:
commit
964f19d529
@ -1160,7 +1160,7 @@ void LoadMapList()
|
||||
|
||||
char buffer[512];
|
||||
|
||||
FormatEx(buffer, sizeof(buffer), "SELECT `map` FROM `%smapzones` WHERE `type` = 1 AND `track` = 0 ORDER BY `map`", g_cSQLPrefix);
|
||||
FormatEx(buffer, sizeof(buffer), "SELECT `map` FROM `%smapzones` WHERE `type` = 1 AND `track` = 0 GROUP BY `map` ORDER BY `map`", g_cSQLPrefix);
|
||||
QueryLog(g_hDatabase, LoadZonedMapsCallback, buffer, _, DBPrio_High);
|
||||
}
|
||||
case MapListFolder:
|
||||
@ -1196,7 +1196,7 @@ void LoadMapList()
|
||||
}
|
||||
|
||||
char buffer[512];
|
||||
FormatEx(buffer, sizeof(buffer), "SELECT `map` FROM `%smapzones` WHERE `type` = 1 AND `track` = 0 ORDER BY `map`", g_cSQLPrefix);
|
||||
FormatEx(buffer, sizeof(buffer), "SELECT `map` FROM `%smapzones` WHERE `type` = 1 AND `track` = 0 GROUP BY `map` ORDER BY `map`", g_cSQLPrefix);
|
||||
QueryLog(g_hDatabase, LoadZonedMapsCallbackMixed, buffer, _, DBPrio_High);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user