]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Survival: Balance bugfix.
authorLyberta <lyberta@lyberta.net>
Sat, 3 Jun 2017 15:37:18 +0000 (18:37 +0300)
committerLyberta <lyberta@lyberta.net>
Sat, 3 Jun 2017 15:37:18 +0000 (18:37 +0300)
qcsrc/server/mutators/mutator/gamemode_survival.qc

index 0bee67d8c7af4a418d2c0be45ec1a7e297061ecc..c55568a54404c2b856fb5b44e32abfa687058483 100644 (file)
@@ -437,7 +437,7 @@ bool Surv_AddPlayerToTeam(entity player, int teamnum)
                                LOG_TRACE("Removing bot");
                                // Remove bot to make space for human.
                                entity bot = NULL;
-                               float score = -999;
+                               float score = 999;
                                FOREACH_CLIENT(IS_BOT_CLIENT(it),
                                {
                                        if ((it.team == surv_attackerteam) && (it.surv_role ==
@@ -498,7 +498,7 @@ bool Surv_AddPlayerToTeam(entity player, int teamnum)
                                LOG_TRACE("Removing bot");
                                // Remove bot to make space for human.
                                entity bot = NULL;
-                               float score = -999;
+                               float score = 999;
                                FOREACH_CLIENT(IS_BOT_CLIENT(it),
                                {
                                        if (!IS_DEAD(it) && (it.team == surv_defenderteam))