projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b701e50
)
Fix luacheck warning
author
sfan5
<sfan5@live.de>
Tue, 16 Jul 2019 21:17:14 +0000
(23:17 +0200)
committer
sfan5
<sfan5@live.de>
Tue, 16 Jul 2019 21:17:14 +0000
(23:17 +0200)
mods/dungeon_loot/mapgen.lua
patch
|
blob
|
history
diff --git
a/mods/dungeon_loot/mapgen.lua
b/mods/dungeon_loot/mapgen.lua
index 06b3bd7936ecb4e02cb58b32d9f118c63bde1d95..4a19f3cf17f0423c73e970858d9a9782f854cd52 100644
(file)
--- 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"