Skip to content

Commit

Permalink
Merge pull request doublespeakgames#552 from DeeNewcum/master
Browse files Browse the repository at this point in the history
bug -- doubleTime is harmful during space.js, so disable it
  • Loading branch information
Continuities authored Sep 11, 2017
2 parents 67188cb + 7548e8c commit 36f5a82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/space.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ var Space = {
}

if(!Space.done) {
Engine.setTimeout(Space.createAsteroid, 1000 - (Space.altitude * 10));
Engine.setTimeout(Space.createAsteroid, 1000 - (Space.altitude * 10), true);
}
}
},
Expand Down Expand Up @@ -266,7 +266,7 @@ var Space = {
$('#spacePanel, .menu, select.menuBtn').animate({color: '#272823'}, 500, 'linear');
else
$('#spacePanel, .menu, select.menuBtn').animate({color: 'white'}, 500, 'linear');
}, Space.FTB_SPEED / 2);
}, Space.FTB_SPEED / 2, true);

Space.createAsteroid();
},
Expand Down

0 comments on commit 36f5a82

Please sign in to comment.