From: bones_was_here Date: Fri, 2 May 2025 18:59:06 +0000 (+1000) Subject: vote master: use normal vno behaviour instead of cancelling the vote X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b868c25041105cefe1227581e55ff4d32ea765af;p=xonotic%2Fxonotic-data.pk3dir.git vote master: use normal vno behaviour instead of cancelling the vote The vstop command already exists for cancelling votes. --- 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); }