From e72eede8afbea0265356bb4c7dcbddd6301b5de1 Mon Sep 17 00:00:00 2001 From: "(Jip) Willem Wijnia" Date: Sun, 7 Apr 2024 10:19:34 +0200 Subject: [PATCH] Make the comment about server interactions more clear --- lua/sim/score.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/sim/score.lua b/lua/sim/score.lua index ea68bf6e77..833e9cb142 100644 --- a/lua/sim/score.lua +++ b/lua/sim/score.lua @@ -22,12 +22,13 @@ local categoriesToCollect = { -- Format specifications for achievements: https://github.com/FAForever/fa/issues/5813 -- Unit categories used in achievements: `def _category_stats` in https://github.com/FAForever/server/blob/develop/server/stats/game_stats_service.py -- Unit IDs used for unit categories: https://github.com/FAForever/server/blob/develop/server/stats/unit.py - -- The 'kills', 'built', and 'loss' stats for each category are checked for each army at the end of the game local categoriesForAchievements = { transportation = categories.TRANSPORTATION, sacu = categories.SUBCOMMANDER, - -- Tracked by FAF server events but doesn't increment any achievements + + -- Tracked by FAF server events but doesn't increment any achievements. We do need to include them + -- or the achievements do not update as a whole. engineer = categories.ENGINEER, tech1 = categories.TECH1, tech2 = categories.TECH2,