feat: v1 prototype — core game systems #30

Merged
naomi merged 84 commits from feat/prototype into main 2026-03-08 15:53:39 -07:00
Showing only changes of commit 50fe905610 - Show all commits
+7
View File
@@ -367,6 +367,13 @@ gameRouter.post("/save", async (context) => {
const now = Date.now();
// Stamp the authoritative save timestamp into the state blob so that on the
// next load the client reads the correct value from state.player.lastSavedAt.
stateToSave = {
...stateToSave,
player: { ...stateToSave.player, lastSavedAt: now },
};
await prisma.player.update({
where: { discordId },
data: {