From 02dcc36e026ecad5a6d8ee74f52bc5403cb35ae6 Mon Sep 17 00:00:00 2001 From: z411 Date: Mon, 13 Dec 2021 03:04:17 -0300 Subject: [PATCH] Make vcall restart do a resetmatch instead --- qcsrc/server/command/vote.qc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; } -- 2.39.2