1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-07-01 16:00:23 +02:00

Added custom on_step for mob arrows (thx npxcoot)

This commit is contained in:
TenPlus1
2016-05-06 11:38:43 +01:00
parent 4ad941523e
commit 0e4ba14bc1
2 changed files with 2 additions and 1 deletions

View File

@ -2473,7 +2473,7 @@ function mobs:register_arrow(name, def)
switch = 0,
arrow = true,
on_step = function(self, dtime)
on_step = def.on_step or function(self, dtime)
self.timer = self.timer + 1