From 28736cda2ac1454897743d997f450a7ab901c814 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 8 Sep 2024 08:35:35 +0000 Subject: [PATCH] clarify comment --- util/utility.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/utility.ts b/util/utility.ts index 098db4a8e..99c1dbecb 100644 --- a/util/utility.ts +++ b/util/utility.ts @@ -969,8 +969,9 @@ export function isDataComplete(match: Partial) { match.version && match.chat && match.players?.[0]?.hero_damage && - // Disconnected players may not have upgrades, so check all slots + // Some players may not have upgrades (DCed or never upgraded abilities), so check all slots // If it's ability upgrade expired data none of the players will have it + // Looks like some ability draft matches also don't have this data (not sure if present in source) match.players?.some(p => p.ability_upgrades_arr), ); }