Fixed missing dependencies

This commit is contained in:
Timo Smit 2017-01-22 11:34:11 +01:00
parent 04c78f0886
commit f39284074b
4 changed files with 7 additions and 3 deletions

View file

@ -17,6 +17,8 @@
local commands = require (wolfa_getLuaPath()..".commands.commands")
local events = require (wolfa_getLuaPath()..".util.events")
function commandCallVote(clientId, cmdArguments)
local voteArguments = {}
for i = 2, et.trap_Argc() - 1 do

View file

@ -17,8 +17,13 @@
local commands = require (wolfa_getLuaPath()..".commands.commands")
local teams = require (wolfa_getLuaPath()..".game.teams")
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)
if players.isTeamLocked(clientId) then
local clientTeam = tonumber(et.gentity_get(clientId, "sess.sessionTeam"))

View file

@ -15,7 +15,6 @@
-- You should have received a copy of the GNU General Public License
-- 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")
function commandWolfAdmin(clientId, cmdArguments)

View file

@ -19,8 +19,6 @@ require (wolfa_getLuaPath()..".util.debug")
local auth = require (wolfa_getLuaPath()..".auth.auth")
local teams = require (wolfa_getLuaPath()..".game.teams")
local players = require (wolfa_getLuaPath()..".players.players")
local util = require (wolfa_getLuaPath()..".util.util")