X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fvote.qc;h=07b71d99968d005ea36083f737ca516ca43c9a2c;hb=be39916adfa6ee75641d1d847fed5e1515bcb109;hp=338d98476b38b2a685cfd71ce2b396d827e204b5;hpb=dfbd79fb9c8e4be1eaf9f4a417320b9488811f91;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/vote.qc b/qcsrc/server/vote.qc index 338d98476..07b71d999 100644 --- a/qcsrc/server/vote.qc +++ b/qcsrc/server/vote.qc @@ -165,6 +165,8 @@ float GameCommand_Vote(string s, entity e) { print_to(e, strcat("^1You have to wait ^2", ftos(ceil(e.vote_next - time)), "^1 seconds before you can again call a vote.")); } else if(VoteCheckNasty(vote)) { print_to(e, "Syntax error in command. See 'vhelp' for more info."); + } else if(cvar("timelimit") == 0 && (vote == "extendmatchtime" || vote == "reducematchtime")) { + print_to(e, "^1Match time can not be reduced or extended as it is infinite. See 'vhelp' for more info."); } else if(RemapVote(vote, "vcall", e)) { votecalledvote = strzone(RemapVote_vote); votecalledvote_display = strzone(RemapVote_display); @@ -203,7 +205,7 @@ float GameCommand_Vote(string s, entity e) { VoteDialog_Reset(); VoteStop(e); } else { - print_to(e, "^1You are not allowed to stop that Vote."); + print_to(e, "^1You are not allowed to stop that vote."); } } else if(argv(1) == "master") { if(cvar("sv_vote_master")) {