Add userlimit skip if sufficient score
This commit is contained in:
parent
15653f7648
commit
d66cabe446
4 changed files with 30 additions and 11 deletions
|
@ -76,6 +76,10 @@ ctf.register_on_save(function()
|
|||
return nil
|
||||
end)
|
||||
|
||||
function ctf_stats.player_or_nil(name)
|
||||
return ctf_stats.players[name], ctf_stats.current.red[name] or ctf_stats.current.blue[name]
|
||||
end
|
||||
|
||||
-- Returns a tuple: `player_stats`, `match_player_stats`
|
||||
function ctf_stats.player(name)
|
||||
local player_stats = ctf_stats.players[name]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue