diff options
| author | Johannes Loher <ghost91@gmx.net> | 2011-05-23 13:06:38 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-06-27 17:07:23 +0200 |
| commit | 14f98a9dedf21b9d73227651f3499fff66432a8f (patch) | |
| tree | 3b77e96650f9abe0edee29490b2e0a43c39c8da0 /src/game/client/gameclient.cpp | |
| parent | bf6ca3e33dd5cdc9e604450fb42ff1db6aff3f2d (diff) | |
| download | zcatch-14f98a9dedf21b9d73227651f3499fff66432a8f.tar.gz zcatch-14f98a9dedf21b9d73227651f3499fff66432a8f.zip | |
Added possibility to deny changing of team after a set_team for a certain amount of time. Added server setting to do this automatically for spec votes. fixes #640.
Diffstat (limited to 'src/game/client/gameclient.cpp')
| -rw-r--r-- | src/game/client/gameclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 0fffb77c..41f7e8fa 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -196,7 +196,7 @@ void CGameClient::OnConsoleInit() Console()->Register("restart", "?i", CFGFLAG_SERVER, 0, 0, "Restart in x seconds"); Console()->Register("broadcast", "r", CFGFLAG_SERVER, 0, 0, "Broadcast message"); Console()->Register("say", "r", CFGFLAG_SERVER, 0, 0, "Say in chat"); - Console()->Register("set_team", "ii", CFGFLAG_SERVER, 0, 0, "Set team of player to team"); + Console()->Register("set_team", "ii?i", CFGFLAG_SERVER, 0, 0, "Set team of player to team"); Console()->Register("set_team_all", "i", CFGFLAG_SERVER, 0, 0, "Set team of all players to team"); Console()->Register("add_vote", "sr", CFGFLAG_SERVER, 0, 0, "Add a voting option"); Console()->Register("remove_vote", "s", CFGFLAG_SERVER, 0, 0, "remove a voting option"); |