Don't set acceleration of TNT drops

This commit is contained in:
Wuzzy 2022-08-16 11:01:31 +02:00
parent f024f976e1
commit 1b68db638f

View File

@ -57,7 +57,6 @@ local function eject_drops(drops, pos, radius)
local obj = minetest.add_item(drop_pos, item) local obj = minetest.add_item(drop_pos, item)
if obj then if obj then
obj:get_luaentity().collect = true obj:get_luaentity().collect = true
obj:set_acceleration({x=0, y=-10, z=0})
obj:set_velocity({x=math.random(-3, 3), y=10, obj:set_velocity({x=math.random(-3, 3), y=10,
z=math.random(-3, 3)}) z=math.random(-3, 3)})
end end