mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
[#30] grunt
This commit is contained in:
parent
0f621fe00b
commit
04048e9768
1 changed files with 4 additions and 0 deletions
4
dist/habitrpg-shared.js
vendored
4
dist/habitrpg-shared.js
vendored
|
|
@ -7797,6 +7797,10 @@ if(typeof module != 'undefined' && module.exports){
|
|||
}
|
||||
user.lastCron = now;
|
||||
paths['lastCron'] = true;
|
||||
if (user.items.lastDrop.count > 0) {
|
||||
user.items.lastDrop.count = 0;
|
||||
paths['items.lastDrop'] = true;
|
||||
}
|
||||
if (user.flags.rest === true) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue