From c005945c6c70bca7ffccb0247519761059e4af24 Mon Sep 17 00:00:00 2001 From: Lyberta Date: Thu, 23 Mar 2017 10:34:09 +0300 Subject: [PATCH] Fixed PlayerRegen bug. --- qcsrc/server/mutators/mutator/gamemode_survival.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/mutators/mutator/gamemode_survival.qc b/qcsrc/server/mutators/mutator/gamemode_survival.qc index e80d7e147..254c3e1c9 100644 --- a/qcsrc/server/mutators/mutator/gamemode_survival.qc +++ b/qcsrc/server/mutators/mutator/gamemode_survival.qc @@ -1482,7 +1482,7 @@ MUTATOR_HOOKFUNCTION(surv, FixPlayermodel) /// regenerate. MUTATOR_HOOKFUNCTION(surv, PlayerRegen) { - entity player = M_ARGV(1, entity); + entity player = M_ARGV(0, entity); if (player.team == surv_defenderteam) { return true; -- 2.39.5