From 929455b2340836f979240f92e839bdf9a570d243 Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Fri, 10 Jul 2015 11:13:31 -0700 Subject: [PATCH] Fixed bug with heroes not loading the proper amount of gems. --- app/views/play/level/modal/HeroVictoryModal.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/play/level/modal/HeroVictoryModal.coffee b/app/views/play/level/modal/HeroVictoryModal.coffee index 086548fc4..0554800c4 100644 --- a/app/views/play/level/modal/HeroVictoryModal.coffee +++ b/app/views/play/level/modal/HeroVictoryModal.coffee @@ -68,7 +68,8 @@ module.exports = class HeroVictoryModal extends ModalView for thangTypeOriginal in thangTypeOriginals thangType = new ThangType() thangType.url = "/db/thang.type/#{thangTypeOriginal}/version" - thangType.project = ['original', 'rasterIcon', 'name', 'soundTriggers', 'i18n'] + #thangType.project = ['original', 'rasterIcon', 'name', 'soundTriggers', 'i18n'] # This is what we need, but the PlayHeroesModal needs more, and so we load more to fill up the supermodel. + thangType.project = ['original', 'rasterIcon', 'name', 'slug', 'soundTriggers', 'featureImages', 'gems', 'heroClass', 'description', 'components', 'extendedName', 'unlockLevelName', 'i18n'] @thangTypes[thangTypeOriginal] = @supermodel.loadModel(thangType, 'thang').model @newEarnedAchievements = []