mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
habitrpg-shared: add streakBonus back in
This commit is contained in:
parent
69e1f991b7
commit
fee39a8b7e
1 changed files with 1 additions and 1 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue