mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-22 12:21:43 +00:00
Removed dependencies on stats module (issue #63)
This commit is contained in:
parent
02dd69efea
commit
4145dd87ba
7 changed files with 2 additions and 7 deletions
|
@ -23,7 +23,7 @@ local util = require "luascripts.wolfadmin.util.util"
|
|||
local db = require "luascripts.wolfadmin.db.db"
|
||||
|
||||
local players = require "luascripts.wolfadmin.players.players"
|
||||
local stats = require "luascripts.wolfadmin.players.stats"
|
||||
-- local stats = require "luascripts.wolfadmin.players.stats"
|
||||
|
||||
local admin = {}
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ local game = require "luascripts.wolfadmin.game.game"
|
|||
local fireteams = require "luascripts.wolfadmin.game.fireteams"
|
||||
|
||||
local players = require "luascripts.wolfadmin.players.players"
|
||||
local stats = require "luascripts.wolfadmin.players.stats"
|
||||
|
||||
local constants = require "luascripts.wolfadmin.util.constants"
|
||||
local settings = require "luascripts.wolfadmin.util.settings"
|
||||
|
|
|
@ -20,7 +20,6 @@ local auth = require "luascripts.wolfadmin.auth.auth"
|
|||
local commands = require "luascripts.wolfadmin.commands.commands"
|
||||
|
||||
local players = require "luascripts.wolfadmin.players.players"
|
||||
local stats = require "luascripts.wolfadmin.players.stats"
|
||||
|
||||
local util = require "luascripts.wolfadmin.util.util"
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ local auth = require "luascripts.wolfadmin.auth.auth"
|
|||
local commands = require "luascripts.wolfadmin.commands.commands"
|
||||
|
||||
local players = require "luascripts.wolfadmin.players.players"
|
||||
local stats = require "luascripts.wolfadmin.players.stats"
|
||||
|
||||
local util = require "luascripts.wolfadmin.util.util"
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ local admin = require "luascripts.wolfadmin.admin.admin"
|
|||
local auth = require "luascripts.wolfadmin.auth.auth"
|
||||
|
||||
local players = require "luascripts.wolfadmin.players.players"
|
||||
local stats = require "luascripts.wolfadmin.players.stats"
|
||||
|
||||
local util = require "luascripts.wolfadmin.util.util"
|
||||
local events = require "luascripts.wolfadmin.util.events"
|
||||
|
|
|
@ -20,7 +20,6 @@ local settings = require "luascripts.wolfadmin.util.settings"
|
|||
local util = require "luascripts.wolfadmin.util.util"
|
||||
|
||||
local players = require "luascripts.wolfadmin.players.players"
|
||||
local stats = require "luascripts.wolfadmin.players.stats"
|
||||
|
||||
local game = {}
|
||||
|
||||
|
|
|
@ -166,7 +166,7 @@ end
|
|||
events.handle("onClientBegin", players.onbegin)
|
||||
|
||||
function players.ondisconnect(clientId)
|
||||
stats.remove(clientId)
|
||||
-- stats.remove(clientId)
|
||||
end
|
||||
events.handle("onClientDisconnect", players.ondisconnect)
|
||||
|
||||
|
|
Loading…
Reference in a new issue