From 6dcaf056737d3cb042600932a77b94bc699984a6 Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Tue, 11 Nov 2014 07:38:39 -0800 Subject: [PATCH] Fix for Simulator level loading. --- app/lib/LevelLoader.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/LevelLoader.coffee b/app/lib/LevelLoader.coffee index f53712ad2..cd07e3020 100644 --- a/app/lib/LevelLoader.coffee +++ b/app/lib/LevelLoader.coffee @@ -228,7 +228,7 @@ module.exports = class LevelLoader extends CocoClass return false unless _.filter(@worldNecessities).length is 0 return false unless @thangNamesLoaded return false if @sessionDependenciesRegistered and not @sessionDependenciesRegistered[@session.id] - return false if @opponentSession and not @sessionDependenciesRegistered[@opponentSession.id] + return false if @sessionDependenciesRegistered and @opponentSession and not @sessionDependenciesRegistered[@opponentSession.id] true onWorldNecessitiesLoaded: ->