Merge branch 'world-tour' into 'next'

Flush random map pool after all but 3 are played

See merge request KartKrew/Kart-Public!216
This commit is contained in:
Sal 2020-08-30 21:49:20 -04:00
commit 8acc2b6f3c

View file

@ -3651,7 +3651,7 @@ tryagain:
void G_AddMapToBuffer(INT16 map)
{
INT16 bufx, refreshnum = (TOLMaps(G_TOLFlag(gametype)) / 2) + 1;
INT16 bufx, refreshnum = max(0, TOLMaps(G_TOLFlag(gametype))-3);
// Add the map to the buffer.
for (bufx = NUMMAPS-1; bufx > 0; bufx--)