Fix bug counter when get

pull/1/head
I Made Setia Baruna 2021-02-03 23:37:46 +08:00
parent 241411d770
commit 08f75915f9
2 changed files with 4 additions and 3 deletions

View File

@ -151,7 +151,8 @@
{#if changelogOpen} {#if changelogOpen}
<div transition:slide class="mt-4"> <div transition:slide class="mt-4">
<pre class="bg-background rounded-xl py-2 px-4 whitespace-pre-wrap">2021/02/03 <pre class="bg-background rounded-xl py-2 px-4 whitespace-pre-wrap">2021/02/03
- Add Xiao</pre> - Add Xiao
- Bug fixes</pre>
<pre class="bg-background rounded-xl py-2 px-4 whitespace-pre-wrap mt-2">2021/02/02 <pre class="bg-background rounded-xl py-2 px-4 whitespace-pre-wrap mt-2">2021/02/02
- Add resin approximation on todo list - Add resin approximation on todo list
- Change todo today farmable item view - Change todo today farmable item view

View File

@ -172,7 +172,7 @@
} }
function getLegendary() { function getLegendary() {
openAddModal(legendary); openAddModal(legendary + 1);
total += 1; total += 1;
legendary = 0; legendary = 0;
@ -181,7 +181,7 @@
} }
function getRare() { function getRare() {
openAddModal(rare); openAddModal(rare + 1);
total += 1; total += 1;
legendary += 1; legendary += 1;