mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix exports
This commit is contained in:
@@ -75,8 +75,8 @@ function getStatToAllocate (user) {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = function autoAllocate (user) {
|
||||
export default function autoAllocate (user) {
|
||||
let statToIncrease = getStatToAllocate(user);
|
||||
|
||||
return user.stats[statToIncrease]++;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user