From e4fb57bdbc49e7f9b160c5344bdb19b753f85bdb Mon Sep 17 00:00:00 2001 From: Samual Date: Fri, 23 Dec 2011 23:09:58 -0500 Subject: [PATCH] *Probably* fix map voting and such --- 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 da2d16da1..46d4a2533 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -519,7 +519,7 @@ float VoteCommand_parse(entity caller, string vote_command, string vote_list, fl if not(VoteCommand_checkinlist(vote_command, vote_list)) return FALSE; - if((argc - 1) < startpos) // These commands won't work without arguments + if(argc < startpos) // These commands won't work without arguments { switch(first_command) { -- 2.39.2