Skip to content

Commit

Permalink
Bugfix for teams that aren't playing
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT committed May 14, 2024
1 parent cf04e71 commit e635b4b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion mods/ctf/ctf_modebase/recent_rankings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,17 @@ return {
rankings_teams = {}
end,
players = function() return rankings_players end,
teams = function() return rankings_teams end,
teams = function()
local out = {}

for k, v in pairs(rankings_teams) do
if not ctf_teams.team[k].not_playing then
out[k] = v
end
end

return out
end,
}

end

0 comments on commit e635b4b

Please sign in to comment.