Fix rare Lua error about LifeHumanDamage being nil
Addresses https://github.com/JetBoom/zombiesurvival/issues/93
This commit is contained in:
parent
0eb762c88e
commit
63849dcaa4
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue