summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAuke Kok <sofar@foo-projects.org>2016-12-15 11:47:34 -0800
committerAuke Kok <sofar@foo-projects.org>2016-12-15 11:47:34 -0800
commitfeb203fb40bb418dad063b7fe7de04185e8c6537 (patch)
treec6e7defd4e34b270c669e25469789c129068a4b6 /init.lua
parentc5beed1ba6dcea1892e398e9003de6b71bafe444 (diff)
Fix whitespace.
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)