mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-14 00:21:36 +00:00
Fixed missing dependencies
This commit is contained in:
parent
04c78f0886
commit
f39284074b
4 changed files with 7 additions and 3 deletions
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
local commands = require (wolfa_getLuaPath()..".commands.commands")
|
local commands = require (wolfa_getLuaPath()..".commands.commands")
|
||||||
|
|
||||||
|
local events = require (wolfa_getLuaPath()..".util.events")
|
||||||
|
|
||||||
function commandCallVote(clientId, cmdArguments)
|
function commandCallVote(clientId, cmdArguments)
|
||||||
local voteArguments = {}
|
local voteArguments = {}
|
||||||
for i = 2, et.trap_Argc() - 1 do
|
for i = 2, et.trap_Argc() - 1 do
|
||||||
|
|
|
@ -17,8 +17,13 @@
|
||||||
|
|
||||||
local commands = require (wolfa_getLuaPath()..".commands.commands")
|
local commands = require (wolfa_getLuaPath()..".commands.commands")
|
||||||
|
|
||||||
|
local teams = require (wolfa_getLuaPath()..".game.teams")
|
||||||
|
|
||||||
local players = require (wolfa_getLuaPath()..".players.players")
|
local players = require (wolfa_getLuaPath()..".players.players")
|
||||||
|
|
||||||
|
local util = require (wolfa_getLuaPath()..".util.util")
|
||||||
|
local settings = require (wolfa_getLuaPath()..".util.settings")
|
||||||
|
|
||||||
function commandTeam(clientId, cmdArguments)
|
function commandTeam(clientId, cmdArguments)
|
||||||
if players.isTeamLocked(clientId) then
|
if players.isTeamLocked(clientId) then
|
||||||
local clientTeam = tonumber(et.gentity_get(clientId, "sess.sessionTeam"))
|
local clientTeam = tonumber(et.gentity_get(clientId, "sess.sessionTeam"))
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
-- You should have received a copy of the GNU General Public License
|
-- You should have received a copy of the GNU General Public License
|
||||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
local auth = require (wolfa_getLuaPath()..".auth.auth")
|
|
||||||
local commands = require (wolfa_getLuaPath()..".commands.commands")
|
local commands = require (wolfa_getLuaPath()..".commands.commands")
|
||||||
|
|
||||||
function commandWolfAdmin(clientId, cmdArguments)
|
function commandWolfAdmin(clientId, cmdArguments)
|
||||||
|
|
|
@ -19,8 +19,6 @@ require (wolfa_getLuaPath()..".util.debug")
|
||||||
|
|
||||||
local auth = require (wolfa_getLuaPath()..".auth.auth")
|
local auth = require (wolfa_getLuaPath()..".auth.auth")
|
||||||
|
|
||||||
local teams = require (wolfa_getLuaPath()..".game.teams")
|
|
||||||
|
|
||||||
local players = require (wolfa_getLuaPath()..".players.players")
|
local players = require (wolfa_getLuaPath()..".players.players")
|
||||||
|
|
||||||
local util = require (wolfa_getLuaPath()..".util.util")
|
local util = require (wolfa_getLuaPath()..".util.util")
|
||||||
|
|
Loading…
Reference in a new issue