From fee39a8b7e3b2f533feca05c42dbaade7c129efa Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Thu, 23 May 2013 17:00:54 +0100 Subject: [PATCH] habitrpg-shared: add streakBonus back in --- src/app/tasks.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tasks.coffee b/src/app/tasks.coffee index 8d44c72cbf..49b52373bb 100644 --- a/src/app/tasks.coffee +++ b/src/app/tasks.coffee @@ -32,8 +32,8 @@ module.exports.app = (appExports, model) -> paths = {} algos.score(uObj, tObj, direction, {paths:paths}) _.each paths, (v,k) -> user.set(k,helpers.dotGet(k, uObj)); true + model.set('_streakBonus', uObj._tmp.streakBonus) if uObj._tmp?.streakBonus if uObj._tmp?.drop and $? - debugger model.set '_drop', uObj._tmp.drop $('#item-dropped-modal').modal 'show'