Browse Source

10 seconds

Load_Fix
Robert Chen 11 years ago
parent
commit
aa0cbae444
  1. 2
      js/ui.js

2
js/ui.js

@ -310,7 +310,7 @@ function OvenUI( stage, gameState ){ @@ -310,7 +310,7 @@ function OvenUI( stage, gameState ){
tick: function(){
// IMPORTANT: SECOND TIMER
var diff = Date.now() - gameState.oldTime;
if( diff > 1000 ){
if( diff > 10000 ){
gameState.oldTime = Date.now();
that.secondTick( diff );
console.log(new Date( gameState.currentTime) );

Loading…
Cancel
Save