generated from nhcarrigan/template
062e5b59a6b4ccea2557571c1db8b6fd2597f771
Fixes #37. After prestige, the GameState's player.lifetime* fields were stale — they did not include the current run's contributions. The Prisma Player record was updated correctly, but the saved GameState had old values, so the UI showed stale all-time totals on reload. buildPostPrestigeState now computes run-stat contributions and folds them into the fresh player object before writing the prestige state, ensuring the GameState is always consistent with the DB Player record.
New Repository Template
This template contains all of our basic files for a new GitHub repository. There is also a handy workflow that will create an issue on a new repository made from this template, with a checklist for the steps we usually take in setting up a new repository.
If you're starting a Node.JS project with TypeScript, we have a specific template for that purpose.
Readme
Delete all of the above text (including this line), and uncomment the below text to use our standard readme template.
Description