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
|
@ -1,6 +1,6 @@
|
|||
if minetest.register_can_bypass_userlimit then
|
||||
minetest.register_can_bypass_userlimit(function(name, ip)
|
||||
local pstat, discard = ctf_stats.player_or_nil(name)
|
||||
local pstat, _ = ctf_stats.player_or_nil(name)
|
||||
local actual_max_users = tonumber(minetest.settings:get("max_users")) +
|
||||
tonumber(minetest.settings:get("max_extra_users") or "10")
|
||||
local req_score = tonumber(minetest.settings:get("userlimit_bypass_required_score") or "10000")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue