File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -69,11 +69,6 @@ var TimeStep = new Class({
6969 // The actual elapsed time in ms between one update and the next.
7070 // No smoothing, no capping, no averaging. So please be aware of this when using the contents of this property.
7171 this . rawDelta = 0 ;
72-
73- for ( var i = 0 ; i < this . deltaSmoothingMax ; i ++ )
74- {
75- this . deltaHistory [ i ] = this . _target ;
76- }
7772 } ,
7873
7974 // Called when the DOM window.onBlur event triggers
@@ -145,7 +140,10 @@ var TimeStep = new Class({
145140 this . started = true ;
146141 this . running = true ;
147142
148- this . deltaHistory = [ ] ;
143+ for ( var i = 0 ; i < this . deltaSmoothingMax ; i ++ )
144+ {
145+ this . deltaHistory [ i ] = this . _target ;
146+ }
149147
150148 this . resetDelta ( ) ;
151149
Original file line number Diff line number Diff line change 11var CHECKSUM = {
2- build : '25109a70-75f2 -11e7-834a-a16fc1dcb07f '
2+ build : 'fe206a90-7609 -11e7-b1ce-db003560483b '
33} ;
44module . exports = CHECKSUM ;
You can’t perform that action at this time.
0 commit comments