Skip to content

Commit

Permalink
add brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
Rathoz committed Dec 19, 2024
1 parent 2689cde commit 3e669ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/match2/commons/match_group_input_util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ function MatchGroupInputUtil.matchIsFinished(match, maps, opponents)
local longLiveTime = record.dateexact and ASSUME_FINISHED_AFTER.EXACT or ASSUME_FINISHED_AFTER.ESTIMATE
return NOW > (record.timestamp + longLiveTime)
end
if #maps > 0 and Array.all(maps, recordLiveLongEnough) or #maps == 0 and recordLiveLongEnough(match) then
if (#maps > 0 and Array.all(maps, recordLiveLongEnough)) or (#maps == 0 and recordLiveLongEnough(match)) then
return true
end

Expand Down

0 comments on commit 3e669ca

Please sign in to comment.