Skip to content

Commit

Permalink
fix anno
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpalpha committed Dec 16, 2024
1 parent 9711340 commit 740bd64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/match2/commons/match_summary_base_ffa.lua
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ function MatchSummaryFfa.updateGameOpponents(game, matchOpponents)
Array.sortInPlaceBy(game.opponents, FnUtil.identity, MatchSummaryFfa.placementSortFunction)
end

---@param match StarcraftMatchGroupUtilMatch
---@param match MatchGroupUtilMatch
---@return Widget
function MatchSummaryFfa.schedule(match)
if MatchSummaryFfa.gamesHaveDifferentDates(match) then
Expand All @@ -636,7 +636,7 @@ function MatchSummaryFfa.schedule(match)
return MatchSummaryWidgets.MatchSchedule{match = match}
end

---@param match StarcraftMatchGroupUtilMatch
---@param match MatchGroupUtilMatch
---@return boolean
function MatchSummaryFfa.gamesHaveDifferentDates(match)
local dates = Array.map(match.games, Operator.property('date'))
Expand Down

0 comments on commit 740bd64

Please sign in to comment.