瀏覽代碼

Fix localdev

David Catuhe 7 年之前
父節點
當前提交
4828600197
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      localDev/index.html

+ 1 - 1
localDev/index.html

@@ -69,7 +69,7 @@
 					BABYLONDEVTOOLS.Loader.debugShortcut(engine);
 
 					// call the scene creation from the js.
-					if (delayCreateScene) {
+					if (typeof delayCreateScene !== "undefined") {
 						var scene = delayCreateScene();
 
 						if (scene) {