Skip to content

Commit

Permalink
never compensate the rotation of a black hole
Browse files Browse the repository at this point in the history
  • Loading branch information
BarthPaleologue committed Sep 6, 2024
1 parent a7054d8 commit c5ea0ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ts/starSystem/starSystemController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ export class StarSystemController {
}
// and never compensate the rotation of a space station
shouldCompensateRotation = shouldCompensateRotation && !(nearestOrbitalObject instanceof SpaceStation);
// also never compensate the rotation of a black hole
shouldCompensateRotation = shouldCompensateRotation && !(nearestOrbitalObject instanceof BlackHole);

// ROTATION COMPENSATION
// If we have to compensate the rotation of the nearest body, there are multiple things to take into account
Expand Down

0 comments on commit c5ea0ef

Please sign in to comment.