This commit is contained in:
Tyler Renelle
2013-09-17 12:04:46 -04:00
parent 0fc413f3b7
commit 9d633eceaf
2 changed files with 3 additions and 1 deletions

View File

@@ -35,6 +35,8 @@ habitrpg.controller("TasksCtrl", ['$scope', '$rootScope', '$location', 'User', '
if (task.type === "reward" && User.user.stats.gp < task.value)
return Notification.text('Not enough GP.');
Algos.score(User.user, task, direction);
User.log({op: "score", data: task, dir: direction});
};
$scope.addTask = function(list) {