]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Forgot to move the command too in the previous commit
authorterencehill <piuntn@gmail.com>
Fri, 24 Aug 2018 13:24:20 +0000 (15:24 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 24 Aug 2018 13:24:20 +0000 (15:24 +0200)
qcsrc/server/command/vote.qc

index 7fb46c125e5eedc7ed7762e299cdfd8416dc5d7c..83c62cd2b004a60fd641f27f401b4fa5ab426c2e 100644 (file)
@@ -716,6 +716,8 @@ int VoteCommand_parse(entity caller, string vote_command, string vote_list, floa
 
                case "restart":
                {
+                       // 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));