Adjust ConHookServerOrNoNetwork error message

This commit is contained in:
Jonathan G Rennison
2021-11-20 20:11:00 +00:00
parent 0691b25e17
commit 5c0c057dda

View File

@@ -185,7 +185,7 @@ DEF_CONSOLE_HOOK(ConHookNoNetwork)
DEF_CONSOLE_HOOK(ConHookServerOrNoNetwork)
{
if (_networking && !_network_server) {
if (echo) IConsoleError("This command is only available to a network server.");
if (echo) IConsoleError("This command is only available to a network server, or in single-player.");
return CHR_DISALLOW;
}
return CHR_ALLOW;