Anyndil / planetary-system-generator

GNU General Public License v3.0
2 stars 1 forks source link

Fix generation of asteroid belts when created from planets down-system from gas giants. #2

Closed sum1els-com closed 2 years ago

sum1els-com commented 2 years ago

The code that generates asteroid belts from scratch works, but when a smaller planet is nearer the sun than a gas giant the code that converted it to an asteroid belt had several deficiencies. This change refactors the code that generates an asteroid belt and calls the same code in either case so it's consistent.

Tested on another server, and both types of asteroid belts now correctly display details.

sum1els-com commented 2 years ago

Hmm, I'm not sure how to do a "squash merge" in Git Hub so you get to see all my intermediate typos. =]