From 4dc5c0092df1a324d0f6f8ab90780199fc2a934b Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 20 Jan 2014 04:15:21 +1100 Subject: [PATCH] Fix vyes not working with sv_vote_change enabled --- 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 e0016b2501..f92a0a40cd 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -1013,7 +1013,7 @@ void VoteCommand_yes(float request, entity caller) // CLIENT ONLY case CMD_REQUEST_COMMAND: { if (!vote_called) { print_to(caller, "^1No vote called."); } - else if(caller.vote_selection != VOTE_SELECT_NULL && autocvar_sv_vote_change) { print_to(caller, "^1You have already voted."); } + else if(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