From: Lyberta Date: Sun, 30 Jul 2017 05:03:26 +0000 (+0300) Subject: Survival: Added health regeneration customization. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=57d3919d66a44ecd113af25a4f44c537591f8608;p=xonotic%2Fxonotic-data.pk3dir.git Survival: Added health regeneration customization. --- diff --git a/qcsrc/server/mutators/mutator/gamemode_survival.qc b/qcsrc/server/mutators/mutator/gamemode_survival.qc index c4267d24ce..1cda9463d9 100644 --- a/qcsrc/server/mutators/mutator/gamemode_survival.qc +++ b/qcsrc/server/mutators/mutator/gamemode_survival.qc @@ -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.