mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 22:13:32 -04:00
Fixed thang avatar view thang loading some more.
This commit is contained in:
parent
a8abe8c887
commit
04da5b4714
1 changed files with 4 additions and 2 deletions
|
@ -21,8 +21,10 @@ module.exports = class ThangAvatarView extends View
|
|||
|
||||
unless @thangType.isFullyLoaded() or @thangType.loading
|
||||
@thangType.fetch()
|
||||
|
||||
@supermodel.loadModel @thangType, 'thang'
|
||||
|
||||
# couldn't get the level view to load properly through the supermodel
|
||||
# so just doing it manually this time.
|
||||
@listenTo @thangType, 'sync', @render
|
||||
|
||||
getSpriteThangType: ->
|
||||
thangs = @supermodel.getModels(ThangType)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue