Skip to content

Commit

Permalink
Fixed missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo Smit committed Jan 22, 2017
1 parent 04c78f0 commit f392840
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions luamods/wolfadmin/commands/client/callvote.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions luamods/wolfadmin/commands/client/team.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down
1 change: 0 additions & 1 deletion luamods/wolfadmin/commands/client/wolfadmin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions luamods/wolfadmin/commands/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f392840

Please sign in to comment.