pmotschmann / Evolve

An incremental game about evolving a civilization
Mozilla Public License 2.0
794 stars 343 forks source link

fix the MAD wiki calculator and the synth MAD penalty #1121

Open Cosmic-Cabbage opened 2 months ago

Cosmic-Cabbage commented 2 months ago

Fixed 2 bugs, in the first when getResetConstants is called by the wiki, inputs.synth is an object, making if (inputs.synth) always true, this means that the mad calculator is always using the synth constants. The second is that in calcPrestige inputs.synth is always undefined when called by the game so the synth penalty is never applied when triggering a mad Fixes #1120