Delay custom actions.
This commit is contained in:
parent
f8678a3d44
commit
234b71064c
12 changed files with 83 additions and 15 deletions
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue