(ef2bdb136) Fixed "biome "none" not found" console error when loading level generation params
This commit is contained in:
@@ -398,6 +398,8 @@ namespace Barotrauma
|
||||
for (int i = 0; i < biomeNames.Length; i++)
|
||||
{
|
||||
string biomeName = biomeNames[i].Trim().ToLowerInvariant();
|
||||
if (biomeName == "none") { continue; }
|
||||
|
||||
Biome matchingBiome = biomes.Find(b => b.Name.ToLowerInvariant() == biomeName);
|
||||
if (matchingBiome == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user