diff --git a/common/script/index.js b/common/script/index.js index 600cac08e4..6e74393255 100644 --- a/common/script/index.js +++ b/common/script/index.js @@ -2295,7 +2295,7 @@ api.wrap = function(user, main) { if (user.preferences.automaticAllocation) { user.fns.autoAllocate(); } else { - user.stats.points = (user.stats.lvl > MAX_LEVEL ? MAX_STAT_POINTS : user.stats.lvl) - allocatedStatPoints; + user.stats.points = MAX_STAT_POINTS - allocatedStatPoints; if (user.stats.points < 0) { user.stats.points = 0; }