[SERVER] Reset zombie skins on death, and set dog skin to 0

This commit is contained in:
Tyler Young 2024-09-01 14:25:25 -04:00
parent a2d3748ff6
commit 310a246157
2 changed files with 2 additions and 0 deletions

View File

@ -360,6 +360,7 @@ void(entity where) spawn_a_dogB =
sdog.enemy = Dog_FindEnemy();
sdog.electro_targeted = 0;
sdog.skin = 0;
SetZombieWalk(sdog);

View File

@ -1185,6 +1185,7 @@ void(entity ent) Zombie_Death_Cleanup = {
ent.health = 0;
ent.respawn_iterator = 0;
ent.skin = 0;
Remaining_Zombies = Remaining_Zombies - 1;
}