Fix rare Lua error about LifeHumanDamage being nil

Addresses https://github.com/JetBoom/zombiesurvival/issues/93
This commit is contained in:
JetBoom 2015-01-01 18:26:36 -05:00
parent 0eb762c88e
commit 63849dcaa4

View file

@ -1606,6 +1606,10 @@ function GM:PlayerInitialSpawnRound(pl)
pl.DamageDealt[TEAM_UNDEAD] = 0
pl.DamageDealt[TEAM_HUMAN] = 0
pl.LifeBarricadeDamage = 0
pl.LifeHumanDamage = 0
pl.LifeBrainsEaten = 0
pl.m_PointQueue = 0
pl.m_LastDamageDealt = 0