fix(config): platforms, not contests

This commit is contained in:
Barrett Ruth 2025-10-04 16:29:35 -04:00
parent ef8ee26edf
commit 0a320945a0
4 changed files with 21 additions and 17 deletions

View file

@ -25,7 +25,7 @@ function M.get_platforms()
local result = {}
for _, platform in ipairs(constants.PLATFORMS) do
if config.contests[platform] then
if config.platforms[platform] then
table.insert(result, {
id = platform,
display_name = constants.PLATFORM_DISPLAY_NAMES[platform] or platform,