Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenBlob authored and GreenBlob committed May 22, 2024
1 parent 3b4cd08 commit 1ee1ce1
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions mods/ctf/ctf_modebase/summary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,28 @@ function ctf_modebase.summary.get(prev)
local rankings = current_mode.recent_rankings

return
rankings.players(), team_rankings(rankings.teams()), current_mode.summary_ranks, {
title = "Match Summary",
special_row_title = "Total Team Stats",
game_stat = game_stat,
winner = winner,
duration = ctf_map.get_duration(),
map = ctf_map.current_map.name,
buttons = {previous = previous ~= nil},
allow_sort = true,
}
rankings.players(), team_rankings(rankings.teams()), current_mode.summary_ranks, {
title = "Match Summary",
special_row_title = "Total Team Stats",
game_stat = game_stat,
winner = winner,
duration = ctf_map.get_duration(),
map = ctf_map.current_map.name,
buttons = {previous = previous ~= nil},
allow_sort = true,
}
elseif previous ~= nil then
return
previous.players, team_rankings(previous.teams), previous.summary_ranks, {
title = "Previous Match Summary",
special_row_title = "Total Team Stats",
game_stat = previous.game_stat,
winner = previous.winner,
duration = previous.duration,
map = previous.map,
buttons = {next = true},
allow_sort = true,
}
previous.players, team_rankings(previous.teams), previous.summary_ranks, {
title = "Previous Match Summary",
special_row_title = "Total Team Stats",
game_stat = previous.game_stat,
winner = previous.winner,
duration = previous.duration,
map = previous.map,
buttons = {next = true},
allow_sort = true,
}
end
end

Expand Down

0 comments on commit 1ee1ce1

Please sign in to comment.