mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-22 12:21:43 +00:00
Removed some NQ and shrubbot-specific things
This commit is contained in:
parent
0cbdf407cb
commit
0640c4bc3b
2 changed files with 3 additions and 6 deletions
|
@ -16,6 +16,7 @@
|
|||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
local commands = require "luascripts.wolfadmin.commands.commands"
|
||||
local settings = require "luascripts.wolfadmin.util.settings"
|
||||
|
||||
function commandHelp(clientId, cmdArguments)
|
||||
local cmds = commands.getadmin()
|
||||
|
@ -29,7 +30,7 @@ function commandHelp(clientId, cmdArguments)
|
|||
end
|
||||
end
|
||||
|
||||
et.trap_SendConsoleCommand(et.EXEC_APPEND, "cchat "..clientId.." \"^dhelp: ^9"..#availableCommands.." additional commands (open console for the full list)\";")
|
||||
et.trap_SendConsoleCommand(et.EXEC_APPEND, "cchat "..clientId.." \"^dhelp: ^9"..#availableCommands.." "..((settings.get("g_standalone") == 0) and "additional " or "").."commands (open console for the full list)\";")
|
||||
|
||||
local cmdsOnLine, cmdsBuffer = 0, ""
|
||||
|
||||
|
|
|
@ -75,10 +75,6 @@ function et_InitGame(levelTime, randomSeed, restartMap)
|
|||
|
||||
basepath = string.gsub(et.trap_Cvar_Get("fs_basepath"), "\\", "/").."/"..et.trap_Cvar_Get("fs_game").."/luascripts/wolfadmin/"
|
||||
|
||||
if not (et.trap_Cvar_Get("fs_game") == "noquarter" or et.trap_Cvar_Get("fs_game") == "nq") then
|
||||
outputDebug("Warning! Not running NoQuarter, this may cause bugs. Use at your own risk.")
|
||||
end
|
||||
|
||||
currentLevelTime = levelTime
|
||||
|
||||
events.trigger("onGameInit", levelTime, randomSeed, (restartMap == 1))
|
||||
|
|
Loading…
Reference in a new issue