Skip to content

Commit

Permalink
hide/show kills col
Browse files Browse the repository at this point in the history
  • Loading branch information
Rathoz committed Dec 10, 2024
1 parent 87e362b commit 0fefcc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/match2/commons/match_group_input_util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1491,6 +1491,7 @@ function MatchGroupInputUtil.parseSettings(match, opponentCount)
status = statusSettings,
settings = {
showGameDetails = Logic.nilOr(Logic.readBoolOrNil(match.showgamedetails), true),
showKills = Logic.nilOr(Logic.readBoolOrNil(match.showkills), true),
matchPointThreshold = tonumber(match.matchpoint),
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/match2/commons/match_summary_ffa.lua
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ local GAME_OVERVIEW_COLUMNS = {
},
{
show = function(match)
return match.extradata.settings.showGameDetails
return match.extradata.settings.showGameDetails and match.extradata.settings.showKills
end,
class = 'panel-table__cell__game-kills',
icon = 'kills',
Expand Down

0 comments on commit 0fefcc6

Please sign in to comment.