mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Localize a variable
This commit is contained in:
parent
76ed6ff826
commit
748b5d4a4b
1 changed files with 1 additions and 1 deletions
|
@ -648,7 +648,7 @@ function mcl_core.get_grass_block_type(pos)
|
|||
local biome_name = minetest.get_biome_name(biome)
|
||||
local reg_biome = minetest.registered_biomes[biome_name]
|
||||
if reg_biome then
|
||||
biome_type = reg_biome._mcl_biome_type
|
||||
local biome_type = reg_biome._mcl_biome_type
|
||||
dry = biome_type == "hot"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue