Fixed typo in HeroVictoryModal.

This commit is contained in:
Nick Winter 2014-12-28 13:53:50 -08:00
parent d1c07745d9
commit fa9f3e2a61

View file

@ -301,7 +301,6 @@ module.exports = class HeroVictoryModal extends ModalView
getNextLevelCampaign: ->
{'kithgard-gates': 'forest', 'siege-of-stonehold': 'desert'}[@level.get('slug')] or @level.get 'campaign' # Much easier to just keep this updated than to dynamically figure it out.
link += '/' + nextCampaign unless nextCampaign is 'dungeon'
getNextLevelLink: ->
link = '/play'