No matter if I do this:
local biomes = {"Plains","Desert"}
local currBiome = biomes[ math.random( #biomes ) ]
Or this:
local biomes = {"Plains","Desert","Plains"}
local currBiome = biomes[ math.random( #biomes ) ]
Or this:
math.randomseed( os.time() )
local biomes = {"Plains","Desert"}
local currBiome = biomes[ math.random( #biomes ) ]
It will always pick the last element from the table. What am I doing wrong?

1 comment
The seed from os.time() or tick() does not vary much between short uses. That's why the output does not change in studio. Call an arbitrary math.random() if you want.