]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
LMS: Remove "^1Match has already begun" hud message, spectators now can freely join...
authorterencehill <piuntn@gmail.com>
Mon, 21 Feb 2022 13:42:17 +0000 (14:42 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 21 Feb 2022 13:42:17 +0000 (14:42 +0100)
qcsrc/common/gamemodes/gamemode/lms/cl_lms.qc

index 7be2d31bc6bd7286a57b411c01d1dfa4551c879f..05e335597751f8f9ecca6eab12c87fa11b1998e6 100644 (file)
@@ -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;