]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix #2651 "12th campaign level is incompleteable with recent LMS non-forced join...
authorterencehill <piuntn@gmail.com>
Fri, 4 Feb 2022 10:03:26 +0000 (11:03 +0100)
committerterencehill <piuntn@gmail.com>
Fri, 4 Feb 2022 10:48:31 +0000 (11:48 +0100)
qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc

index c8cc0e6e565751b75aa3919ffeb4b4ddf3095f51..d7729d42f5dee2429f229b4df1156986082c2f0a 100644 (file)
@@ -54,7 +54,7 @@ int WinningCondition_LMS()
                {
                        // two or more active players - continue with the game
 
-                       if (autocvar_g_campaign)
+                       if (autocvar_g_campaign && campaign_bots_may_start)
                        {
                                FOREACH_CLIENT(IS_REAL_CLIENT(it), {
                                        float pl_lives = GameRules_scoring_add(it, LMS_LIVES, 0);