(svn r15514) -Fix: make the join/spectate command require to be connected to a network game; in SP it could lead to crashes.

This commit is contained in:
rubidium 2009-02-18 15:17:27 +00:00
parent fd6a480004
commit 3e1664aff1
1 changed files with 1 additions and 1 deletions

View File

@ -1797,7 +1797,7 @@ void IConsoleStdLibRegister()
IConsoleCmdHookAdd("rcon", ICONSOLE_HOOK_ACCESS, ConHookNeedNetwork);
IConsoleCmdRegister("join", ConJoinCompany);
IConsoleCmdHookAdd("join", ICONSOLE_HOOK_ACCESS, ConHookClientOnly);
IConsoleCmdHookAdd("join", ICONSOLE_HOOK_ACCESS, ConHookNeedNetwork);
IConsoleAliasRegister("spectate", "join 255");
IConsoleCmdRegister("move", ConMoveClient);
IConsoleCmdHookAdd("move", ICONSOLE_HOOK_ACCESS, ConHookServerOnly);