angarg12 / nucleogenesis

Nucleogenesis JS incremental game
GNU General Public License v3.0
40 stars 20 forks source link

Exotic Matter error #184

Closed wjohnson8081 closed 6 years ago

wjohnson8081 commented 6 years ago

I created a molecule with sulfur and oxygen (OS) and this seems to have broken the exotic matter tab. I cannot prestige anymore, and the only thing it says is

{{ 'EXOTIC.HIDE' | translate }}: {{ 'EXOTIC.SORT' | translate }}

angarg12 commented 6 years ago

Interesting.

I will try to reproduce it.

Could you please pastebin your save so that I can load it up?

wjohnson8081 commented 6 years ago

nucleogenesis-save (1).txt

Sorry, I'm not very tech savvy and I'm not sure what "pastebin"ing is, but I uploaded the save file here if that helps.

angarg12 commented 6 years ago

I think I know what is the problem. Did you first do an S run, swap to O and then synthesise OS?

wjohnson8081 commented 6 years ago

I created S through fusion of 16O and synthesised OS that way, but I didn't do an S run

angarg12 commented 6 years ago

Even better yet.

The problem was that the game creates the exotic upgrades of elements only once you buy them.

Since you fused S that didn't create the upgrades object, and then the game was crashing with a null pointer when trying to calculate production.

I just pushed a fix, it should be live in the dev version in about 5-10 minutes.