mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
This reverts commit 9d69d4b863.
This commit is contained in:
@@ -306,7 +306,6 @@ export function cron (options = {}) {
|
||||
if (dailiesDaysMissed > 1) dailiesDaysMissed = 1;
|
||||
|
||||
if (completed) {
|
||||
task.lastCompleted = moment(now).subtract({days: 1}).toDate();
|
||||
dailyChecked += 1;
|
||||
if (!atLeastOneDailyDue) { // only bother checking until the first thing is found
|
||||
let thatDay = moment(now).subtract({days: daysMissed});
|
||||
|
||||
Reference in New Issue
Block a user