mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 20:41:11 +01:00
Make arrows remove after a longer period
This commit is contained in:
parent
0805431231
commit
86f2d639f9
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ ARROW_ENTITY.on_step = function(self, dtime)
|
||||||
self._z_rotation = math.random(30, -30)
|
self._z_rotation = math.random(30, -30)
|
||||||
self._y_rotation = math.random(30, -30)
|
self._y_rotation = math.random(30, -30)
|
||||||
self.object:set_attach(obj, self._attach_parent, {x=self._x_position,y=self._y_position,z=random_arrow_positions('z', placement)}, {x=0,y=self._rotation_station + self._y_rotation,z=self._z_rotation})
|
self.object:set_attach(obj, self._attach_parent, {x=self._x_position,y=self._y_position,z=random_arrow_positions('z', placement)}, {x=0,y=self._rotation_station + self._y_rotation,z=self._z_rotation})
|
||||||
minetest.after(60, function()
|
minetest.after(150, function()
|
||||||
self.object:remove()
|
self.object:remove()
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue