fix typo so that Ryan doesn't make pointed comments at me

This commit is contained in:
Alice Harris 2014-09-10 14:13:25 +10:00
parent 87f51913d0
commit d7f9760c0f

View file

@ -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)->