Skip to content

Commit

Permalink
v1.3 update
Browse files Browse the repository at this point in the history
  • Loading branch information
bikutaa-dev committed Dec 27, 2023
1 parent 9ca4eb3 commit 3b03c96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,6 @@ function calculateTimesReachedWithDifficulty(change){
currentPoints -= data.goal
timesReached += 1
data.goal += data.difficultyPointIncrease
console.log(`${CurrentTime()}: currentPoints: ${currentPoints}, timesReached: ${timesReached}, goal: ${data.goal}`)
}

data.points = currentPoints
Expand All @@ -601,7 +600,6 @@ const addPoints = (change) => {
let timesReached = 0
if(data.difficultyMode){
timesReached = calculateTimesReachedWithDifficulty(data.points)
console.log(`${CurrentTime()}: timesReached: ${timesReached}`)
}else{
timesReached = Math.floor(data.points/data.goal)
data.points = data.points%data.goal
Expand Down

0 comments on commit 3b03c96

Please sign in to comment.