mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +00:00
Add delay before showing lore
This commit is contained in:
parent
453085284f
commit
3825732e2e
1 changed files with 4 additions and 2 deletions
|
@ -72,8 +72,10 @@ export const main = createLayer("main", function (this: BaseLayer) {
|
|||
},
|
||||
onUnlockLayer() {
|
||||
opened.value = true;
|
||||
loreTitle.value = unref(layers[layer ?? "trees"]?.name ?? "");
|
||||
loreBody.value = story;
|
||||
setTimeout(() => {
|
||||
loreTitle.value = unref(layers[layer ?? "trees"]?.name ?? "");
|
||||
loreBody.value = story;
|
||||
}, 1000);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue