Browse Source

First call to Clock.getDelta() returns 0

Fernando Serrano 8 years ago
parent
commit
9fe3631401
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/Clock.js

+ 1 - 0
src/core/Clock.js

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