Fix for GenerateTerrainModal

This commit is contained in:
Imperadeiro98 2015-12-26 21:56:05 +00:00
parent b7ba677b00
commit bf6601c3cc

View file

@ -344,6 +344,11 @@ module.exports = class GenerateTerrainModal extends ModalView
events:
'click .choose-option': 'onGenerate'
constructor: (options) ->
super options
@presets = presets
@presetSizes = presetSizes
onRevertModel: (e) ->
id = $(e.target).val()
CocoModel.backedUp[id].revert()