mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix exports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import resetGear from '../fns/resetGear';
|
||||
import i18n from '../i18n';
|
||||
|
||||
module.exports = function reset (user, tasks = []) {
|
||||
export default function reset (user, tasks = []) {
|
||||
user.stats.hp = 50;
|
||||
user.stats.lvl = 1;
|
||||
user.stats.gp = 0;
|
||||
@@ -27,4 +27,4 @@ module.exports = function reset (user, tasks = []) {
|
||||
{user, tasksToRemove},
|
||||
i18n.t('resetComplete'),
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user