From b868c25041105cefe1227581e55ff4d32ea765af Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Sat, 3 May 2025 04:59:06 +1000 Subject: [PATCH] vote master: use normal vno behaviour instead of cancelling the vote The vstop command already exists for cancelling votes. --- 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 e2df71b7ff..8ec7e9f6d6 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -1200,7 +1200,7 @@ void VoteCommand_no(int request, entity caller) // CLIENT ONLY { print_to(caller, "^1You have already voted."); } - else if (((caller == vote_caller) || caller.vote_master) && autocvar_sv_vote_no_stops_vote) + else if (caller == vote_caller && autocvar_sv_vote_no_stops_vote) { VoteStop(caller, true); } -- 2.39.5