Added console message for when VScript documentation is requested while it's disabled

This commit is contained in:
Blixibon 2021-05-27 12:01:55 -05:00
parent adada8f56e
commit e28813de7f

View File

@ -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();