Fix a load of issues, add luacheck and travis
This commit is contained in:
parent
c21b192f82
commit
7bd82dca86
28 changed files with 144 additions and 107 deletions
|
@ -181,7 +181,7 @@ end)
|
|||
|
||||
ctf_flag.register_on_precapture(function(name, flag)
|
||||
local tplayer = ctf.player(name)
|
||||
local main, match = ctf_stats.player(name)
|
||||
local main, _ = ctf_stats.player(name)
|
||||
if main then
|
||||
main.wins[tplayer.team] = main.wins[tplayer.team] + 1
|
||||
ctf.needs_save = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue