mirror of
https://gitlab.com/hoggit/developers/hoggit.git
synced 2026-08-21 02:31:42 +00:00
temp fix for broken AA ranges
This commit is contained in:
+2
-2
@@ -193,7 +193,7 @@ HOGGIT.setZombie = function(group, spawner, state)
|
||||
end
|
||||
|
||||
HOGGIT._deathHandler = function(event)
|
||||
if event.id == world.event.S_EVENT_CRASH or event.id == world.event.S_EVENT_DEAD or event.id == world.event.S_EVENT_ENGINE_SHUTDOWN then
|
||||
if event.id == world.event.S_EVENT_CRASH or event.id == world.event.S_EVENT_DEAD or event.id == world.event.S_EVENT_ENGINE_SHUTDOWN or event.id == world.event.S_EVENT_UNIT_LOST then
|
||||
HOGGIT.debug_text("SOMETHING DEAD YO", 10)
|
||||
if not event.initiator then return end
|
||||
if not event.initiator.getName then return end
|
||||
@@ -250,7 +250,7 @@ HOGGIT._deathHandler = function(event)
|
||||
end
|
||||
HOGGIT.zombie_checks[spawner] = nil
|
||||
|
||||
end, {}, timer.getTime() + 10)
|
||||
end, {}, timer.getTime() + 60)
|
||||
HOGGIT.debug_text("Scheduled NEW dead check id ".. new_func_id .." for group: " .. grp, 10)
|
||||
HOGGIT.zombie_checks[spawner] = new_func_id
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user