Explorar el Código

First call to Clock.getDelta() returns 0

Fernando Serrano hace 8 años
padre
commit
9fe3631401
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/core/Clock.js

+ 1 - 0
src/core/Clock.js

@@ -49,6 +49,7 @@ Clock.prototype = {
 		if ( this.autoStart && ! this.running ) {
 
 			this.start();
+			return 0;
 
 		}