]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Survival: Added health regeneration customization.
authorLyberta <lyberta@lyberta.net>
Sun, 30 Jul 2017 05:03:26 +0000 (08:03 +0300)
committerLyberta <lyberta@lyberta.net>
Sun, 30 Jul 2017 05:03:26 +0000 (08:03 +0300)
qcsrc/server/mutators/mutator/gamemode_survival.qc

index c4267d24ceec8660f7281d0f51f59b123f386503..1cda9463d9a2fec3a133ebda768231a2a01e940e 100644 (file)
@@ -1920,7 +1920,7 @@ MUTATOR_HOOKFUNCTION(surv, PlayerRegen)
        {
                return true;
        }
-       return false;
+       return PlayerTemplate_PlayerRegen(player, Surv_GetPlayerTemplate(player));
 }
 
 /// \brief Hook that is called to determine if balance messages will appear.