summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 8a9165c..4faa222 100644
--- a/init.lua
+++ b/init.lua
@@ -211,7 +211,7 @@ local function reg_plant_stages(plant_name, stage, force_last)
end
-register_plant_node = function(node)
+local register_plant_node = function(node)
local plant_name, stage = plant_name_stage(node)
@@ -554,8 +554,8 @@ farming.register_plant = function(name, def)
waving = 1,
tiles = {mname .. "_" .. pname .. "_" .. i .. ".png"},
paramtype = "light",
- paramtype2 = def.paramtype2 or nil,
- place_param2 = def.place_param2 or nil,
+ paramtype2 = def.paramtype2,
+ place_param2 = def.place_param2,
walkable = false,
buildable_to = true,
drop = drop,