mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-02 17:03:42 -04: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) ->
|
onLevelReloadFromData: (e) ->
|
||||||
isReload = Boolean @world
|
isReload = Boolean @world
|
||||||
@setLevel @level, e.supermodel
|
@setLevel e.level, e.supermodel
|
||||||
if isReload
|
if isReload
|
||||||
@scriptManager.setScripts(e.level.get('scripts'))
|
@scriptManager.setScripts(e.level.get('scripts'))
|
||||||
Backbone.Mediator.publish 'tome:cast-spell' # a bit hacky
|
Backbone.Mediator.publish 'tome:cast-spell' # a bit hacky
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue