change references to imported libs

This commit is contained in:
Matteo Pagliazzi
2016-03-08 17:49:18 +01:00
parent 5a2daabada
commit a351cb5f4e
9 changed files with 11 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ module.exports = function(user, req, cb) {
user.flags.classSelected = true;
user.preferences.disableClasses = true;
user.preferences.autoAllocate = true;
user.stats.str = api.capByLevel(user.stats.lvl);
user.stats.str = capByLevel(user.stats.lvl);
user.stats.points = 0;
return typeof cb === "function" ? cb(null, _.pick(user, splitWhitespace('stats flags preferences'))) : void 0;
};