Skip to content

Group zoned maps in LoadMapZones#1256

Merged
rtldg merged 2 commits intoshavitush:masterfrom
Awesomerly:maplist_fixy
Dec 31, 2025
Merged

Group zoned maps in LoadMapZones#1256
rtldg merged 2 commits intoshavitush:masterfrom
Awesomerly:maplist_fixy

Conversation

@Awesomerly
Copy link
Contributor

If a map had multiple end zones it would be in the map list multiple times. This fixes that issue.

If a map had multiple end zones it would be in the map list multiple times. This fixes that issue
@mourningsickness
Copy link
Contributor

it also improves the mapchooser to add a check for a start and end zone to catch maps with missing zones

@Awesomerly
Copy link
Contributor Author

that would be good to do. not tonight though xd!

@rtldg
Copy link
Collaborator

rtldg commented Oct 8, 2025

I think I tested this a bit ago and had an issue. Probably with MariaDB or MySQL (5.7 @ nfoservers). Dunno. Would have to test / double-check

@rtldg
Copy link
Collaborator

rtldg commented Dec 31, 2025

Using GROUP BY like this has some issues on certain SQL engines so I switched it to SELECT DISTINCT.

mourningsickness: it also improves the mapchooser to add a check for a start and end zone to catch maps with missing zones

I don't feel like writing more SQL to do that so I'll merge as-is for now.

@rtldg rtldg merged commit 5ca44fe into shavitush:master Dec 31, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants