Permalink
Browse files

Fly-in fix, where the grid distance was decreased too much.

  • Loading branch information...
1 parent d5d45d3 commit 67cd0cc73a38ccff9103263d1346cda24ea7fcd2 @stephank committed Jun 12, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gamestates/game.js
@@ -22,11 +22,12 @@ GameMachine = {
flyInGrid: function() {
Starfield.ride();
grid.draw();
+
+ grid.distance -= C.flyInAdvance;
if (grid.distance <= 0) {
grid.distance = 0;
Engine.transition('main');
}
- grid.distance -= C.flyInAdvance;
},
enter_main: function() {

0 comments on commit 67cd0cc

Please sign in to comment.