Index: files/patch-aba8c3753162320c7cc8a66913ad82f4f1fd0d8b =================================================================== --- files/patch-aba8c3753162320c7cc8a66913ad82f4f1fd0d8b (nonexistent) +++ files/patch-aba8c3753162320c7cc8a66913ad82f4f1fd0d8b (working copy) @@ -0,0 +1,23 @@ +From aba8c3753162320c7cc8a66913ad82f4f1fd0d8b Mon Sep 17 00:00:00 2001 +From: SmallJoker +Date: Thu, 30 Jul 2020 19:03:48 +0200 +Subject: [PATCH] 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 | 1 + + 1 file changed, 1 insertion(+) + +diff --git builtin/game/falling.lua builtin/game/falling.lua +index 714506a5f1b..4bfcca9e774 100644 +--- builtin/game/falling.lua ++++ builtin/game/falling.lua +@@ -52,6 +52,7 @@ core.register_entity(":__builtin:falling_node", { + floats = false, + + set_node = function(self, node, meta) ++ node.param2 = node.param2 or 0 + self.node = node + meta = meta or {} + if type(meta.to_table) == "function" then Property changes on: files/patch-aba8c3753162320c7cc8a66913ad82f4f1fd0d8b ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property