Nicolas Cannasse před 5 roky
rodič
revize
bb48952b9d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      hide/view/l3d/Level3D.hx

+ 1 - 1
hide/view/l3d/Level3D.hx

@@ -404,7 +404,7 @@ class Level3D extends FileView {
 			'Draw Calls: ${scene.engine.drawCalls}',
 			'Draw Calls: ${scene.engine.drawCalls}',
 		];
 		];
 		statusText.text = lines.join("\n");
 		statusText.text = lines.join("\n");
-		sceneEditor.event.wait(0.5, updateStats);
+		haxe.Timer.delay(function() sceneEditor.event.wait(0.5, updateStats), 0);
 	}
 	}
 
 
 	function bakeLights() {
 	function bakeLights() {