mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-26 21:57:57 +03:00
Added console message for when VScript documentation is requested while it's disabled
This commit is contained in:
parent
adada8f56e
commit
e28813de7f
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user