Skip to content

Commit acea204

Browse files
committed
Add comment
1 parent 39ddf6c commit acea204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function App() {
1313
function upgradeClicker() {
1414
//upgrade clicker
1515
if (points >= Math.pow(2, clickMultiplier)) {
16-
setPoints(points - 10 * Math.pow(2, clickMultiplier - 1));
16+
setPoints(points - 10 * Math.pow(2, clickMultiplier - 1)); //spend points
1717
setClickMultiplier(clickMultiplier + 1); //increase click multiplier by 1
1818
}
1919
}

0 commit comments

Comments
 (0)