mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-16 00:19:50 -05:00
Fix typo introduced in last commit. Like a boss.
This commit is contained in:
parent
2ab83328f3
commit
291b44f0a6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue