]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
*Probably* fix map voting and such
authorSamual <samual@xonotic.org>
Sat, 24 Dec 2011 04:09:58 +0000 (23:09 -0500)
committerSamual <samual@xonotic.org>
Sat, 24 Dec 2011 04:09:58 +0000 (23:09 -0500)
qcsrc/server/command/vote.qc

index da2d16da1be546d6921542cef36e58945129ebba..46d4a2533ac8e355e30fad2457f02e06f91365c4 100644 (file)
@@ -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)
                {