Added mod check to break

This commit is contained in:
tenplus1 2015-02-26 17:30:34 +00:00
parent 6b5283e8fc
commit c30be176ab
1 changed files with 1 additions and 1 deletions

View File

@ -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: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)
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
if (fire.mod and fire.mod == "redo" and 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
-- is fire redo mod active?