From b595061f18c195a44458acc4c7c293840638c34c Mon Sep 17 00:00:00 2001 From: Samual Date: Tue, 27 Dec 2011 10:55:54 -0500 Subject: [PATCH] Fix vote yes to stop it from spamming nonsense :P --- qcsrc/server/command/vote.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index b9ecd1de5..69aa2f686 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -842,7 +842,7 @@ void VoteCommand_yes(float request, entity caller) // CLIENT ONLY case CMD_REQUEST_COMMAND: { if not(vote_called) { print_to(caller, "^1No vote called."); } - if not(caller.vote_selection == VOTE_SELECT_NULL || autocvar_sv_vote_change) { print_to(caller, "^1You have already voted."); } + else if not(caller.vote_selection == VOTE_SELECT_NULL || autocvar_sv_vote_change) { print_to(caller, "^1You have already voted."); } else // everything went okay, continue changing vote { -- 2.39.2