Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Universe generation: fixed issue with "random" galaxy shape
When the "random" galaxy shape was chosen, calc_planet_size failed when trying to access the GALAXY_SHAPE_MOD_TO_PLANET_SIZE_DIST universe table, as it doesn't contain an entry for "random", and the galaxy shape that calc_star_system_positions picked didn't get passed on to calc_planet_size, which instead used "random". Fixed now.
- Loading branch information
Showing
2 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters