Browse Source

fix timeScale

sunag 6 years ago
parent
commit
a391b275b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/nodes/utils/TimerNode.js

+ 1 - 1
examples/js/nodes/utils/TimerNode.js

@@ -12,7 +12,7 @@ function TimerNode( scale, scope, timeScale ) {
 	this.scale = scale !== undefined ? scale : 1;
 	this.scale = scale !== undefined ? scale : 1;
 	this.scope = scope || TimerNode.GLOBAL;
 	this.scope = scope || TimerNode.GLOBAL;
 
 
-	this.timeScale = timeScale !== undefined ? timeScale : scale !== 1;
+	this.timeScale = timeScale !== undefined ? timeScale : scale !== undefined;
 
 
 }
 }