From: z411 Date: Mon, 13 Dec 2021 06:04:17 +0000 (-0300) Subject: Make vcall restart do a resetmatch instead X-Git-Tag: xonotic-v0.8.5~253^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=02dcc36e026ecad5a6d8ee74f52bc5403cb35ae6;p=xonotic%2Fxonotic-data.pk3dir.git Make vcall restart do a resetmatch instead --- diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index 00283149a..b3aa8ca22 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -756,11 +756,10 @@ int VoteCommand_parse(entity caller, string vote_command, string vote_list, floa } case "restart": + case "resetmatch": // re-direct all match restarting to resetmatch { - // add a delay so that vote result can be seen and announcer can be heard - // if the vote is accepted - vote_parsed_command = strcat("defer 1 ", vote_command); - vote_parsed_display = strzone(strcat("^1", vote_command)); + vote_parsed_command = "resetmatch"; + vote_parsed_display = strzone("^1resetmatch"); break; }