Преглед изворни кода

First call to Clock.getDelta() returns 0

Fernando Serrano пре 8 година
родитељ
комит
9fe3631401
1 измењених фајлова са 1 додато и 0 уклоњено
  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;
 
 		}