mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-04 01:43:40 -04:00
Fix loading hero thangs more
This commit is contained in:
parent
b3f8b79897
commit
e73a31abe6
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ module.exports = class LevelLoader extends CocoClass
|
||||||
if heroResource = @maybeLoadURL(url, ThangType, 'thang')
|
if heroResource = @maybeLoadURL(url, ThangType, 'thang')
|
||||||
console.log "Pushing resource: ", heroResource
|
console.log "Pushing resource: ", heroResource
|
||||||
@worldNecessities.push heroResource
|
@worldNecessities.push heroResource
|
||||||
@sessionDependenciesRegistered[session.id] = true
|
@sessionDependenciesRegistered[session.id] = true
|
||||||
return
|
return
|
||||||
return unless @level.get('type', true) in ['hero', 'hero-ladder', 'hero-coop']
|
return unless @level.get('type', true) in ['hero', 'hero-ladder', 'hero-coop']
|
||||||
heroConfig = session.get('heroConfig')
|
heroConfig = session.get('heroConfig')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue