mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-26 06:01:31 +00:00
Fixed missing module
This commit is contained in:
parent
3252c6a563
commit
f8ec599932
2 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ local teams = require "luascripts.wolfadmin.game.teams"
|
||||||
|
|
||||||
local util = require "luascripts.wolfadmin.util.util"
|
local util = require "luascripts.wolfadmin.util.util"
|
||||||
local constants = require "luascripts.wolfadmin.util.constants"
|
local constants = require "luascripts.wolfadmin.util.constants"
|
||||||
|
local settings = require "luascripts.wolfadmin.util.settings"
|
||||||
|
|
||||||
function commandLock(clientId, cmdArguments)
|
function commandLock(clientId, cmdArguments)
|
||||||
if cmdArguments[1] == nil or (cmdArguments[1] ~= constants.TEAM_AXIS_SC and cmdArguments[1] ~= constants.TEAM_ALLIES_SC and cmdArguments[1] ~= constants.TEAM_SPECTATORS_SC and cmdArguments[1] ~= "all") then
|
if cmdArguments[1] == nil or (cmdArguments[1] ~= constants.TEAM_AXIS_SC and cmdArguments[1] ~= constants.TEAM_ALLIES_SC and cmdArguments[1] ~= constants.TEAM_SPECTATORS_SC and cmdArguments[1] ~= "all") then
|
||||||
|
|
|
@ -23,6 +23,7 @@ local teams = require "luascripts.wolfadmin.game.teams"
|
||||||
|
|
||||||
local util = require "luascripts.wolfadmin.util.util"
|
local util = require "luascripts.wolfadmin.util.util"
|
||||||
local constants = require "luascripts.wolfadmin.util.constants"
|
local constants = require "luascripts.wolfadmin.util.constants"
|
||||||
|
local settings = require "luascripts.wolfadmin.util.settings"
|
||||||
|
|
||||||
function commandUnlock(clientId, cmdArguments)
|
function commandUnlock(clientId, cmdArguments)
|
||||||
if cmdArguments[1] == nil or (cmdArguments[1] ~= constants.TEAM_AXIS_SC and cmdArguments[1] ~= constants.TEAM_ALLIES_SC and cmdArguments[1] ~= constants.TEAM_SPECTATORS_SC and cmdArguments[1] ~= "all") then
|
if cmdArguments[1] == nil or (cmdArguments[1] ~= constants.TEAM_AXIS_SC and cmdArguments[1] ~= constants.TEAM_ALLIES_SC and cmdArguments[1] ~= constants.TEAM_SPECTATORS_SC and cmdArguments[1] ~= "all") then
|
||||||
|
|
Loading…
Reference in a new issue