diff --git a/gorge.js b/gorge.js index 5d57eec..f97512a 100644 --- a/gorge.js +++ b/gorge.js @@ -235,7 +235,7 @@ function updateProductivity() { Object.assign(currentProductivity, calculateProductivity()); Object.entries(activePowerups).forEach(([key, entry]) => { - if (entry.time > 0) { + if (entry.life > 0) { const powerup = entry.powerup; const state = {