Delay custom actions.

This commit is contained in:
Duane Robertson 2016-05-26 01:12:06 -05:00
parent f8678a3d44
commit 234b71064c
12 changed files with 83 additions and 15 deletions

View file

@ -48,10 +48,6 @@ mobs:register_mob("fun_caves:spider", {
punch_end = 90,
},
do_custom = function(self)
if not self.fun_caves_damage_timer then
self.fun_caves_damage_timer = 0
end
fun_caves.surface_damage(self)
end,
})