Removed dependencies on stats module (issue #63)

This commit is contained in:
Timo Smit 2016-11-15 14:41:47 +01:00
parent 02dd69efea
commit 4145dd87ba
7 changed files with 2 additions and 7 deletions

View file

@ -23,7 +23,7 @@ local util = require "luascripts.wolfadmin.util.util"
local db = require "luascripts.wolfadmin.db.db" local db = require "luascripts.wolfadmin.db.db"
local players = require "luascripts.wolfadmin.players.players" local players = require "luascripts.wolfadmin.players.players"
local stats = require "luascripts.wolfadmin.players.stats" -- local stats = require "luascripts.wolfadmin.players.stats"
local admin = {} local admin = {}

View file

@ -23,7 +23,6 @@ local game = require "luascripts.wolfadmin.game.game"
local fireteams = require "luascripts.wolfadmin.game.fireteams" local fireteams = require "luascripts.wolfadmin.game.fireteams"
local players = require "luascripts.wolfadmin.players.players" local players = require "luascripts.wolfadmin.players.players"
local stats = require "luascripts.wolfadmin.players.stats"
local constants = require "luascripts.wolfadmin.util.constants" local constants = require "luascripts.wolfadmin.util.constants"
local settings = require "luascripts.wolfadmin.util.settings" local settings = require "luascripts.wolfadmin.util.settings"

View file

@ -20,7 +20,6 @@ local auth = require "luascripts.wolfadmin.auth.auth"
local commands = require "luascripts.wolfadmin.commands.commands" local commands = require "luascripts.wolfadmin.commands.commands"
local players = require "luascripts.wolfadmin.players.players" local players = require "luascripts.wolfadmin.players.players"
local stats = require "luascripts.wolfadmin.players.stats"
local util = require "luascripts.wolfadmin.util.util" local util = require "luascripts.wolfadmin.util.util"

View file

@ -20,7 +20,6 @@ local auth = require "luascripts.wolfadmin.auth.auth"
local commands = require "luascripts.wolfadmin.commands.commands" local commands = require "luascripts.wolfadmin.commands.commands"
local players = require "luascripts.wolfadmin.players.players" local players = require "luascripts.wolfadmin.players.players"
local stats = require "luascripts.wolfadmin.players.stats"
local util = require "luascripts.wolfadmin.util.util" local util = require "luascripts.wolfadmin.util.util"

View file

@ -22,7 +22,6 @@ local admin = require "luascripts.wolfadmin.admin.admin"
local auth = require "luascripts.wolfadmin.auth.auth" local auth = require "luascripts.wolfadmin.auth.auth"
local players = require "luascripts.wolfadmin.players.players" local players = require "luascripts.wolfadmin.players.players"
local stats = require "luascripts.wolfadmin.players.stats"
local util = require "luascripts.wolfadmin.util.util" local util = require "luascripts.wolfadmin.util.util"
local events = require "luascripts.wolfadmin.util.events" local events = require "luascripts.wolfadmin.util.events"

View file

@ -20,7 +20,6 @@ local settings = require "luascripts.wolfadmin.util.settings"
local util = require "luascripts.wolfadmin.util.util" local util = require "luascripts.wolfadmin.util.util"
local players = require "luascripts.wolfadmin.players.players" local players = require "luascripts.wolfadmin.players.players"
local stats = require "luascripts.wolfadmin.players.stats"
local game = {} local game = {}

View file

@ -166,7 +166,7 @@ end
events.handle("onClientBegin", players.onbegin) events.handle("onClientBegin", players.onbegin)
function players.ondisconnect(clientId) function players.ondisconnect(clientId)
stats.remove(clientId) -- stats.remove(clientId)
end end
events.handle("onClientDisconnect", players.ondisconnect) events.handle("onClientDisconnect", players.ondisconnect)