summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 537edd9..ac62799 100644
--- a/init.lua
+++ b/init.lua
@@ -341,7 +341,7 @@ if crops.settings.hydration then
water = math.min(100, water + 1)
end
end
-
+
if minetest.get_node_light(pos, nil) < plant.properties.night then
-- compensate for light: at night give some water back to the plant
water = math.min(100, water + 1)