From: Samual Date: Sat, 24 Dec 2011 04:09:58 +0000 (-0500) Subject: *Probably* fix map voting and such X-Git-Tag: xonotic-v0.6.0~188^2~28^2~84 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e4fb57bdbc49e7f9b160c5344bdb19b753f85bdb;p=xonotic%2Fxonotic-data.pk3dir.git *Probably* fix map voting and such --- 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) {