Fix Extended not being selected if no votes are cast (#21975)

see title
Odyssey is both a votable mode and added manually (to put it at the top)
so default_choices length != winners length, thus it was picking a
random winner rather than defaulting to Extended

(also fixed a changelog not having the right name format)
This commit is contained in:
Wildkins
2026-03-05 01:54:16 +00:00
committed by GitHub
parent a1b1073672
commit 5b38b93a93
3 changed files with 72 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
//Actually populate the voting choices, which are now sorted
for(var/datum/game_mode/votable_mode_sorted in gamemodes_list)
default_choices += capitalize(votable_mode_sorted.name)
default_choices |= capitalize(votable_mode_sorted.name)
//Stop the countdown while we vote
GLOB.round_progressing = FALSE