fix
parent
ec79b03977
commit
6e3270508e
|
@ -371,7 +371,7 @@ GameLib.D3.Scene.LoadSceneFromApi = function(
|
|||
var response = JSON.parse(xhr.responseText);
|
||||
|
||||
if (!response.scene || response.scene.length == 0) {
|
||||
return onLoaded(null, null, new Error('Could not load scene'));
|
||||
return onLoaded(null, new Error('Could not load scene'));
|
||||
}
|
||||
|
||||
var scene = response.scene[0];
|
||||
|
|
Loading…
Reference in New Issue