Skip to content

Commit

Permalink
Revert all changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenBlob authored and GreenBlob committed May 22, 2024
1 parent 9286125 commit c408574
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions mods/ctf/ctf_modebase/summary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ function ctf_modebase.summary.get(prev)
game_stat = game_stat,
winner = winner,
duration = ctf_map.get_duration(),
map = ctf_map.current_map.name,
buttons = {previous = previous ~= nil},
allow_sort = true,
}
Expand All @@ -45,7 +44,6 @@ function ctf_modebase.summary.get(prev)
game_stat = previous.game_stat,
winner = previous.winner,
duration = previous.duration,
map = previous.map,
buttons = {next = true},
allow_sort = true,
}
Expand All @@ -71,7 +69,6 @@ ctf_api.register_on_match_end(function()
game_stat = game_stat,
winner = winner or "NO WINNER",
duration = ctf_map.get_duration(),
map = ctf_map.current_map.name,
summary_ranks = current_mode.summary_ranks,
}

Expand Down Expand Up @@ -289,14 +286,6 @@ function ctf_modebase.summary.show_gui_sorted(name, rankings, special_rankings,
}
end

if formdef.map then
formspec.elements.map = {
type = "label",
pos = {7, 0.5},
label = "Map: " .. formdef.map,
}
end

ctf_gui.old_show_formspec(name, "ctf_modebase:summary", formspec)
end

Expand Down

0 comments on commit c408574

Please sign in to comment.