Browse Source

bugfix if dt>0.5

Nicolas Cannasse 5 years ago
parent
commit
bb48952b9d
1 changed files with 1 additions and 1 deletions
  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}',
 		];
 		statusText.text = lines.join("\n");
-		sceneEditor.event.wait(0.5, updateStats);
+		haxe.Timer.delay(function() sceneEditor.event.wait(0.5, updateStats), 0);
 	}
 
 	function bakeLights() {