diff --git a/luascripts/commands/admin/help.lua b/luascripts/commands/admin/help.lua index 5906ca2..5003076 100644 --- a/luascripts/commands/admin/help.lua +++ b/luascripts/commands/admin/help.lua @@ -16,6 +16,7 @@ -- along with this program. If not, see . 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, "" @@ -66,4 +67,4 @@ function commandHelp(clientId, cmdArguments) return false end -commands.addadmin("help", commandHelp, "h", "display commands available to you or help on a specific command", "^9(^hcommand^9)", true) \ No newline at end of file +commands.addadmin("help", commandHelp, "h", "display commands available to you or help on a specific command", "^9(^hcommand^9)", true) diff --git a/luascripts/main.lua b/luascripts/main.lua index 963ee19..0e8df8a 100644 --- a/luascripts/main.lua +++ b/luascripts/main.lua @@ -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))