From 595a4170b2a2c6a704fd82e90b07a175bfa241af Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Wed, 25 Dec 2024 19:30:23 -0600 Subject: [PATCH] Fix error about pinned tooltips --- src/data/projEntry.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data/projEntry.tsx b/src/data/projEntry.tsx index f6b4c20..abba816 100644 --- a/src/data/projEntry.tsx +++ b/src/data/projEntry.tsx @@ -4,6 +4,7 @@ import { createResource, trackBest, trackOOMPS, trackTotal } from "features/reso import { branchedResetPropagation, createTree, Tree } from "features/trees/tree"; import type { Layer } from "game/layers"; import { createLayer } from "game/layers"; +import { noPersist } from "game/persistence"; import player, { Player } from "game/player"; import type { DecimalSource } from "util/bignum"; import Decimal, { format, formatTime } from "util/bignum"; @@ -31,7 +32,7 @@ export const main = createLayer("main", layer => { // Note: Casting as generic tree to avoid recursive type definitions const tree = createTree(() => ({ - nodes: [[prestige.treeNode]], + nodes: noPersist([[prestige.treeNode]]), branches: [], onReset() { points.value = toRaw(tree.resettingNode.value) === toRaw(prestige.treeNode) ? 0 : 10;