chore: clarify comments on cron code

This commit is contained in:
Blade Barringer
2016-05-14 09:20:57 -05:00
parent 210d01ddae
commit 56dccf016e

View File

@@ -82,7 +82,7 @@ export function cron (options = {}) {
user.auth.timestamps.loggedin = now;
user.lastCron = now;
user.preferences.timezoneOffsetAtLastCron = timezoneOffsetFromUserPrefs;
// Allow user to get drops again
// User is only allowed a certain number of drops a day. This resets the count.
if (user.items.lastDrop.count > 0) user.items.lastDrop.count = 0;
// "Perfect Day" achievement for perfect-days