From: Mario Date: Sun, 4 Feb 2018 16:28:07 +0000 (+1000) Subject: Add a note to the nextmap vote parser X-Git-Tag: xonotic-v0.8.5~2347 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3cd38c6383cc9b0f1be76f440bb90449cd7553cc;p=xonotic%2Fxonotic-data.pk3dir.git Add a note to the nextmap vote parser --- diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index 1645a706b..c9a5550ba 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -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;