Skip to content

Commit

Permalink
🏎️🚡 ↝ [SSG-110 SSG-117 SSM-100]: And a bonus, planet gen w/ liquid ha…
Browse files Browse the repository at this point in the history
…s been added
  • Loading branch information
Gizmotronn committed Feb 2, 2025
1 parent 1bcf788 commit 4d102aa
Show file tree
Hide file tree
Showing 22 changed files with 1,334 additions and 90 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function PlanetGenerator({ classificationConfig, author, classifi
const [radius, setRadius] = useState(initialRadius);
const [typeOverride, setTypeOverride] = useState<'terrestrial' | 'gaseous' | null>(null);

const stats = calculatePlanetStats(mass, radius, typeOverride);
const stats = calculatePlanetStats(mass, radius, undefined, undefined, typeOverride);

const handleMassChange = (newMass: number) => {
if (typeOverride === 'terrestrial' && newMass > TERRESTRIAL_THRESHOLD) {
Expand Down
Loading

0 comments on commit 4d102aa

Please sign in to comment.