From 3cd38c6383cc9b0f1be76f440bb90449cd7553cc Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 5 Feb 2018 02:28:07 +1000 Subject: [PATCH] Add a note to the nextmap vote parser --- 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 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; -- 2.39.2