summaryrefslogtreecommitdiff
path: root/sealife.lua
diff options
context:
space:
mode:
Diffstat (limited to 'sealife.lua')
-rw-r--r--sealife.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/sealife.lua b/sealife.lua
index 7d31a38..2dafa25 100644
--- a/sealife.lua
+++ b/sealife.lua
@@ -129,7 +129,7 @@ minetest.register_abm({
action = function(pos, node)
- sel = math.random(1,5)
+ local sel = math.random(1,5)
if sel == 1 or minetest.get_node(pos).name == "ethereal:seaweed" then
local height = 0