1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-03-13 16:10:25 +01:00

fix local variable

This commit is contained in:
crabman77 2016-11-19 00:31:20 +01:00
parent 8efb1887a5
commit 93220352f5

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