mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-11 20:11:33 +03:00
Added console message for when VScript documentation is requested while it's disabled
This commit is contained in:
@@ -348,7 +348,10 @@ local function PrintMatchesInDocList(pattern, list, printfunc)
|
||||
function __Documentation::PrintHelp(pattern = "*")
|
||||
{
|
||||
if ( !developer )
|
||||
{
|
||||
printdocl("Documentation is not enabled. To enable documentation, restart the server with the 'developer' cvar set to 1 or higher.");
|
||||
return
|
||||
}
|
||||
|
||||
local patternLower = pattern.tolower();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user