mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
Fix starting web dev levels
This commit is contained in:
parent
7b38181241
commit
788a14398a
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ module.exports = class PlayLevelView extends RootView
|
|||
onWorldNecessitiesLoaded: ->
|
||||
# Called when we have enough to build the world, but not everything is loaded
|
||||
@grabLevelLoaderData()
|
||||
team = @getQueryVariable('team') ? @session.get('team') ? @world.teamForPlayer(0)
|
||||
team = @getQueryVariable('team') ? @session.get('team') ? @world?.teamForPlayer(0) ? 'humans'
|
||||
@loadOpponentTeam(team)
|
||||
@setupGod()
|
||||
@setTeam team
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue