diff --git a/src/app/scoring.coffee b/src/app/scoring.coffee index 6a3de2725e..5f050b9e68 100644 --- a/src/app/scoring.coffee +++ b/src/app/scoring.coffee @@ -162,7 +162,7 @@ score = (taskId, direction, times, batch, cron) -> # Don't adjust values for rewards calculateDelta(false) # purchase item - money -= taskObj.value + money -= Math.abs(taskObj.value) num = parseFloat(taskObj.value).toFixed(2) # if too expensive, reduce health & zero money if money < 0 diff --git a/views/app/index.html b/views/app/index.html index 66c9b504de..f8ad96d041 100644 --- a/views/app/index.html +++ b/views/app/index.html @@ -451,7 +451,7 @@