1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-09-28 06:30:20 +02:00

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 end
local biome = minetest.get_biome_data(cpos) 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" local type = "normal"
if biome:find("desert") == 1 then if biome:find("desert") == 1 then
type = "desert" type = "desert"