Skip to content

Commit 5e9bd6c

Browse files
committed
Fix some code
1 parent 97ffae4 commit 5e9bd6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ function App() {
694694
}
695695
function upgradeMaxLevel() {
696696
//upgrade max level
697-
if (checkPointsForUpgrade(points, 100 * Math.pow(10, maxLevel - 1))) {
697+
if (points > 100 * Math.pow(10, maxLevel - 1)) {
698698
setAutoClickers((prevAutoClickers) => [
699699
...prevAutoClickers,
700700
{ value: 0, level: maxLevel + 1 },
@@ -1091,7 +1091,7 @@ function App() {
10911091
<td>
10921092
Autoclicker Bonus Multiplier:{' '}
10931093
<NumericDisplay
1094-
value={autoClickersBonus[i].value}
1094+
value={autoClickersBonusMultiplier[i].value}
10951095
shortForm={false}
10961096
/>
10971097
<br />

0 commit comments

Comments
 (0)