Localize various unneeded global variables

This commit is contained in:
Wuzzy 2018-01-26 22:20:15 +01:00
parent a40dec6da9
commit 16bb9b8901
10 changed files with 30 additions and 28 deletions

View file

@ -1558,7 +1558,7 @@ local generate_underground_mushrooms = function(minp, maxp, seed)
end
local pr_nether = PseudoRandom(os.time()+667)
local nehter_wart_chance
local nether_wart_chance
if mg_name == "v6" then
nether_wart_chance = 85
else