mirror of
https://codeberg.org/tenplus1/ambience.git
synced 2024-11-15 23:10:24 +01:00
Fixed fire ambience
This commit is contained in:
parent
7cff05b8b8
commit
6b5283e8fc
2
init.lua
2
init.lua
|
@ -125,7 +125,7 @@ local get_ambience = function(player)
|
||||||
if node == "default:water_source" then num_water_source = num_water_source + 1 end
|
if node == "default:water_source" then num_water_source = num_water_source + 1 end
|
||||||
if node == "default:desert_sand" or node == "default:desert_stone" then num_desert = num_desert + 1 end
|
if node == "default:desert_sand" or node == "default:desert_stone" then num_desert = num_desert + 1 end
|
||||||
-- break check if total reached for specific sound (stops lag in desert areas)
|
-- break check if total reached for specific sound (stops lag in desert areas)
|
||||||
if num_fire > 8 or num_lava > 5 or num_water_flowing > 45 or num_water_source > 100 or num_desert > 150 then break end
|
if num_fire > 0 or num_lava > 5 or num_water_flowing > 45 or num_water_source > 100 or num_desert > 150 then break end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- is fire redo mod active?
|
-- is fire redo mod active?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user