From 43b67aaa57619ae4457458ced00a200340fdb70f Mon Sep 17 00:00:00 2001 From: heinrich5991 Date: Fri, 21 Jan 2011 20:46:00 +0100 Subject: added server command to clear the votes. this fixes #47 partially --- src/game/client/gameclient.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game/client') diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 9bb3bb90..f1ff3709 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -194,6 +194,7 @@ void CGameClient::OnConsoleInit() Console()->Register("set_team", "ii", 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("addvote", "r", CFGFLAG_SERVER, 0, 0, "Add a voting option"); + Console()->Register("clear_votes", "", CFGFLAG_SERVER, 0, 0, "Clears the voting options"); Console()->Register("vote", "r", CFGFLAG_SERVER, 0, 0, "Force a vote to yes/no"); -- cgit 1.4.1