fix local variable

This commit is contained in:
crabman77 2016-11-19 00:31:20 +01:00
parent 8efb1887a5
commit 93220352f5
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ minetest.register_node("sponge:sponge", {
end
local change = false
local on_water = false
local p, n
-- verifier si il est dans l'eau ou a cotée
if string.find(minetest.get_node(pointed_thing.above).name, "water_source")
or string.find(minetest.get_node(pointed_thing.above).name, "water_flowing") then