aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut')
-rw-r--r--Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut
index 2f045a476..8706d53b1 100644
--- a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut
+++ b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut
@@ -103,7 +103,7 @@ void function RespawnInfected( entity player )
player.kv.airAcceleration = 2500
// scale health with num of infected, with 50 as base health
- player.SetMaxHealth( GetPlayerArrayOfTeam( INFECTION_TEAM_SURVIVOR ).len() * 10 )
+ player.SetMaxHealth( ( GetPlayerArrayOfTeam( INFECTION_TEAM_SURVIVOR ).len() + 1 ) * 10 )
// set loadout
foreach ( entity weapon in player.GetMainWeapons() )