forked from MineClone5/MineClone5
Ensure flowing items don't affect collection animation
This commit is contained in:
parent
09854a9af4
commit
0af898fc6e
|
@ -153,6 +153,10 @@ minetest.register_globalstep(function(dtime)
|
||||||
object:set_velocity({x=0,y=0,z=0})
|
object:set_velocity({x=0,y=0,z=0})
|
||||||
object:set_acceleration({x=0,y=0,z=0})
|
object:set_acceleration({x=0,y=0,z=0})
|
||||||
|
|
||||||
|
if object._flowing then
|
||||||
|
object._flowing = false
|
||||||
|
end
|
||||||
|
|
||||||
object:move_to(checkpos)
|
object:move_to(checkpos)
|
||||||
|
|
||||||
pool[name] = pool[name] + 1
|
pool[name] = pool[name] + 1
|
||||||
|
|
Loading…
Reference in New Issue