No-cache User fetch in hero victory

After earning achievements.  On IE, this call results in a cache hit,
so the User object was never updated with the sweet sweet loot you just
earned.  Like a sword you need for True Names.
This commit is contained in:
Matt Lott 2014-12-21 21:14:35 -08:00
parent 5ae56750c0
commit e7c626656e

View file

@ -85,7 +85,7 @@ module.exports = class HeroVictoryModal extends ModalView
@listenToOnce me, 'sync', ->
@readyToContinue = true
@updateSavingProgressStatus()
me.fetch() unless me.loading
me.fetch cache:false unless me.loading
@readyToContinue = true if not @achievements.models.length