summaryrefslogtreecommitdiff
path: root/moretrees
diff options
context:
space:
mode:
Diffstat (limited to 'moretrees')
-rw-r--r--moretrees/node_defs.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/moretrees/node_defs.lua b/moretrees/node_defs.lua
index e5f8127..16b979f 100644
--- a/moretrees/node_defs.lua
+++ b/moretrees/node_defs.lua
@@ -31,7 +31,7 @@ local moretrees_plantlike_leaves_visual_scale = 1
if moretrees.plantlike_leaves then
moretrees_new_leaves_drawtype = "plantlike"
- moretrees_plantlike_leaves_visual_scale = 1.189
+ moretrees_plantlike_leaves_visual_scale = math.sqrt(2)
end
-- redefine default leaves to handle plantlike and/or leaf decay options
@@ -40,7 +40,7 @@ if moretrees.plantlike_leaves then
minetest.override_item("default:leaves", {
inventory_image = minetest.inventorycube("default_leaves.png"),
drawtype = "plantlike",
- visual_scale = 1.189
+ visual_scale = math.sqrt(2)
})
else
minetest.override_item("default:leaves", {
@@ -54,7 +54,7 @@ if moretrees.plantlike_leaves then
minetest.override_item("default:jungleleaves", {
inventory_image = minetest.inventorycube("default_jungleleaves.png"),
drawtype = "plantlike",
- visual_scale = 1.189
+ visual_scale = math.sqrt(2)
})
else
minetest.override_item("default:jungleleaves", {