From: sfan5 Date: Tue, 16 Jul 2019 21:17:14 +0000 (+0200) Subject: Fix luacheck warning X-Git-Tag: 5.1.0~48 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c3403936d3569e91af737b961d56078d844a5777;p=oweals%2Fminetest_game.git Fix luacheck warning --- diff --git a/mods/dungeon_loot/mapgen.lua b/mods/dungeon_loot/mapgen.lua index 06b3bd79..4a19f3cf 100644 --- a/mods/dungeon_loot/mapgen.lua +++ b/mods/dungeon_loot/mapgen.lua @@ -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"