mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
The first parameter of set_team is the victim (cf. line 1190)
This commit is contained in:
parent
e6643607f4
commit
0209ef4126
|
@ -206,7 +206,7 @@ void CGameClient::OnConsoleInit()
|
|||
Console()->Register("restart", "?i", CFGFLAG_SERVER, ConServerDummy, 0, "Restart in x seconds", 0);
|
||||
Console()->Register("broadcast", "r", CFGFLAG_SERVER, ConServerDummy, 0, "Broadcast message", 0);
|
||||
Console()->Register("say", "r", CFGFLAG_SERVER, ConServerDummy, 0, "Say in chat", 0);
|
||||
Console()->Register("set_team", "ii", CFGFLAG_SERVER, ConServerDummy, 0, "Set team of player to team", 0);
|
||||
Console()->Register("set_team", "vi", CFGFLAG_SERVER, ConServerDummy, 0, "Set team of player to team", 0);
|
||||
Console()->Register("set_team_all", "i", CFGFLAG_SERVER, 0, 0, "Set team of all players to team", 0);
|
||||
Console()->Register("addvote", "r", CFGFLAG_SERVER, ConServerDummy, 0, "Add a voting option", 0);
|
||||
Console()->Register("clear_votes", "", CFGFLAG_SERVER, ConServerDummy, 0, "Clears the voting options", 0);
|
||||
|
|
|
@ -1323,7 +1323,7 @@ void CGameContext::OnConsoleInit()
|
|||
Console()->Register("restart", "?i", CFGFLAG_SERVER|CFGFLAG_STORE, ConRestart, this, "", 3);
|
||||
Console()->Register("broadcast", "r", CFGFLAG_SERVER, ConBroadcast, this, "", 2);
|
||||
Console()->Register("say", "r", CFGFLAG_SERVER, ConSay, this, "", 3);
|
||||
Console()->Register("set_team", "ii", CFGFLAG_SERVER, ConSetTeam, this, "", 2);
|
||||
Console()->Register("set_team", "vi", CFGFLAG_SERVER, ConSetTeam, this, "", 2);
|
||||
Console()->Register("set_team_all", "i", CFGFLAG_SERVER, ConSetTeamAll, this, "", 2);
|
||||
|
||||
Console()->Register("addvote", "r", CFGFLAG_SERVER, ConAddVote, this, "", 4);
|
||||
|
|
Loading…
Reference in a new issue