Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a bug where Singularity broke with NaN in exalt5 #586

Open
wants to merge 1 commit into
base: exalt5
Choose a base branch
from

Conversation

httpsnet
Copy link
Contributor

This PR fixes an issue where many variables become NaN when using Singularity and the game does not work properly.
The cause was difficult to identify due to interactions that replicated NaNs.
That is because player.loadedOct4Hotfix is undefined, player.worlds.add() in CheckVariables.ts#L425 is called, runs player.blueberryUpgrades.ambrosiaLuckQuark1.bonus.quarks, and returns undefined player.caches.ambrosiaLuck.total is caused by accessing

PR adds code in two places

  • Added hold.loadedOct4Hotfix = true to Singularity reset
  • Added code to prevent Quark from becoming NaN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant