From a237ee5f6dbf07f992a0de0b927370e1d33d7610 Mon Sep 17 00:00:00 2001 From: def Date: Sat, 29 Oct 2022 14:45:22 +0200 Subject: [PATCH] Improve callvote arguments by making them more specific Should make it a bit clearer how to call a vote from F1 --- src/game/client/components/voting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/voting.cpp b/src/game/client/components/voting.cpp index aa387aea9..6feef12cc 100644 --- a/src/game/client/components/voting.cpp +++ b/src/game/client/components/voting.cpp @@ -196,7 +196,7 @@ void CVoting::OnReset() void CVoting::OnConsoleInit() { - Console()->Register("callvote", "s[command] s[id] ?r[reason]", CFGFLAG_CLIENT, ConCallvote, this, "Call vote"); + Console()->Register("callvote", "s['kick'|'spectate'|'option'] s[id|option text] ?r[reason]", CFGFLAG_CLIENT, ConCallvote, this, "Call vote"); Console()->Register("vote", "r['yes'|'no']", CFGFLAG_CLIENT, ConVote, this, "Vote yes/no"); }