Made asteroid belts support the proc gen module

This commit is contained in:
Nick J. Connors 2022-01-03 13:01:27 -05:00
parent 4396690ebd
commit 32b6e9d75e
2 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,8 @@ namespace NewHorizons.Builder.Body
}
};
var asteroidConfig = new PlanetConfig(config);
if (belt.ProcGen != null) asteroidConfig.ProcGen = belt.ProcGen;
var asteroid = new NewHorizonsBody(new PlanetConfig(config), assets, uniqueName);
Main.NextPassBodies.Add(asteroid);
}

View File

@ -13,5 +13,6 @@ namespace NewHorizons.External
public float Inclination { get; set; }
public float LongitudeOfAscendingNode { get; set; }
public int RandomSeed { get; set; }
public ProcGenModule ProcGen { get; set; }
}
}