mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-08 13:36:30 +00:00
fix typo so that Ryan doesn't make pointed comments at me
This commit is contained in:
parent
87f51913d0
commit
d7f9760c0f
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ api.wrap = (user, main=true) ->
|
|||
user.stats[lostStat]-- if lostStat
|
||||
|
||||
# Lose a gear piece
|
||||
# Free items (value:0) cannot be lost to avoid "pay to win". Subscribers have more free (Mystery) items and so would have a higher chance of loosing a free one.
|
||||
# Free items (value:0) cannot be lost to avoid "pay to win". Subscribers have more free (Mystery) items and so would have a higher chance of losing a free one.
|
||||
# Note ""+k string-casting. Without this, when run on the server Mongoose returns funny objects
|
||||
cl = user.stats.class
|
||||
lostItem = user.fns.randomVal _.reduce(user.items.gear.owned, ((m,v,k)->
|
||||
|
|
|
|||
Loading…
Reference in a new issue