Fix typo introduced in last commit. Like a boss.

This commit is contained in:
Nick Winter 2014-08-12 12:56:55 -07:00
parent 2ab83328f3
commit 291b44f0a6

View file

@ -322,7 +322,7 @@ module.exports = class PlayLevelView extends RootView
onLevelReloadFromData: (e) ->
isReload = Boolean @world
@setLevel @level, e.supermodel
@setLevel e.level, e.supermodel
if isReload
@scriptManager.setScripts(e.level.get('scripts'))
Backbone.Mediator.publish 'tome:cast-spell' # a bit hacky