From 171de0908ca86fcf0d113ac018b1f5aabc553518 Mon Sep 17 00:00:00 2001 From: z411 Date: Wed, 30 Mar 2022 22:58:09 -0300 Subject: [PATCH] Revert "Make vcall restart do a resetmatch instead" This reverts commit 02dcc36e026ecad5a6d8ee74f52bc5403cb35ae6. --- qcsrc/server/command/vote.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index 7ff8d2a13..42d78dd0a 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -761,11 +761,11 @@ int VoteCommand_parse(entity caller, string vote_command, string vote_list, floa break; } - case "restart": // re-direct all match restarting to resetmatch - vote_command = "resetmatch"; // fall-through - case "resetmatch": + case "restart": { - vote_parsed_command = vote_command; + // 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)); break; -- 2.39.2