]> git.lizzy.rs Git - minetest.git/commit
Falling: Fix error caused by missing param2
authorSmallJoker <mk939@ymail.com>
Thu, 30 Jul 2020 17:03:48 +0000 (19:03 +0200)
committerSmallJoker <mk939@ymail.com>
Thu, 30 Jul 2020 17:03:48 +0000 (19:03 +0200)
commitaba8c3753162320c7cc8a66913ad82f4f1fd0d8b
treec995bb5b18920486815b6e08cea7a0f64ff4c012
parent9bba52c4000a06043f5100dbb0ef66d869707ffc
Falling: Fix error caused by missing param2

Falling nodes that were spawned prior the recent falling node changes did not require param2.
Default to param2 = 0 when none is found in the node data.
builtin/game/falling.lua