mirror of
https://gitlab.com/hoggit/developers/hoggit.git
synced 2026-08-24 12:05:18 +00:00
Fixes zombies.
- The respawn of zombies adds their new group to the zombie check.
This commit is contained in:
+1
-4
@@ -239,17 +239,14 @@ HOGGIT._deathHandler = function(event)
|
||||
HOGGIT.zombies[grp] = nil
|
||||
|
||||
mist.scheduleFunction(function()
|
||||
spawner.Spawn()
|
||||
HOGGIT.setZombie(spawner.Spawn(), spawner, true)
|
||||
end, {}, timer.getTime() + delay)
|
||||
end
|
||||
HOGGIT.zombie_checks[spawner] = nil
|
||||
|
||||
end, {}, timer.getTime() + 10)
|
||||
|
||||
HOGGIT.debug_text("Scheduled NEW dead check id ".. new_func_id .." for group: " .. grp, 10)
|
||||
HOGGIT.zombie_checks[spawner] = new_func_id
|
||||
else
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user