]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a note to the nextmap vote parser
authorMario <mario@smbclan.net>
Sun, 4 Feb 2018 16:28:07 +0000 (02:28 +1000)
committerMario <mario@smbclan.net>
Sun, 4 Feb 2018 16:28:07 +0000 (02:28 +1000)
qcsrc/server/command/vote.qc

index 1645a706b2e866941ec8c76981517dff7649c204..c9a5550ba81562b7fb36075200ab21aed39f6b68 100644 (file)
@@ -698,7 +698,7 @@ int VoteCommand_parse(entity caller, string vote_command, string vote_list, floa
                        break;
                }
 
-               case "nextmap":
+               case "nextmap": // TODO: replicate the old behaviour of being able to vote for maps from different modes on multimode servers (possibly support it in gotomap too), maybe fallback instead of aborting if map name is invalid?
                {
                        vote_command = ValidateMap(argv(startpos + 1), caller);
                        if (!vote_command)  return -1;