From: terencehill Date: Mon, 21 Feb 2022 13:42:17 +0000 (+0100) Subject: LMS: Remove "^1Match has already begun" hud message, spectators now can freely join... X-Git-Tag: xonotic-v0.8.5~193 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8bf71db35c06d32aeaf538f022e288f7eeab305e;p=xonotic%2Fxonotic-data.pk3dir.git LMS: Remove "^1Match has already begun" hud message, spectators now can freely join when the match has already begun --- diff --git a/qcsrc/common/gamemodes/gamemode/lms/cl_lms.qc b/qcsrc/common/gamemodes/gamemode/lms/cl_lms.qc index 7be2d31bc..05e335597 100644 --- a/qcsrc/common/gamemodes/gamemode/lms/cl_lms.qc +++ b/qcsrc/common/gamemodes/gamemode/lms/cl_lms.qc @@ -13,14 +13,7 @@ MUTATOR_HOOKFUNCTION(cl_lms, DrawInfoMessages) vector mySize = M_ARGV(1, vector); vector fontsize = '0.2 0.2 0' * mySize.y; int img_curr_group = M_ARGV(2, int); - if(sk.(scores(ps_primary)) >= 666) - { - InfoMessage(_("^1Match has already begun")); - M_ARGV(0, vector) = pos; - M_ARGV(2, int) = img_curr_group; - return true; - } - else if(sk.(scores(ps_primary)) > 0) + if(sk.(scores(ps_primary)) > 0) { InfoMessage(_("^1You have no more lives left")); M_ARGV(0, vector) = pos;