Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix luacheck warning
  • Loading branch information
sfan5 committed Jul 16, 2019
1 parent b701e50 commit c340393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/dungeon_loot/mapgen.lua
Expand Up @@ -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"
Expand Down

0 comments on commit c340393

Please sign in to comment.