Skip to content
Snippets Groups Projects
Commit c3403936 authored by sfan5's avatar sfan5
Browse files

Fix luacheck warning

parent b701e500
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ local function find_walls(cpos) ...@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment