Fix luacheck warning

This commit is contained in:
sfan5 2019-07-16 23:17:14 +02:00
parent b701e500aa
commit c3403936d3

View File

@ -53,7 +53,7 @@ local function find_walls(cpos)
end
local biome = minetest.get_biome_data(cpos)
local biome = biome and minetest.get_biome_name(biome.biome) or ""
biome = biome and minetest.get_biome_name(biome.biome) or ""
local type = "normal"
if biome:find("desert") == 1 then
type = "desert"