Style issues.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 12 Nov 2013 10:45:10 +0000 (11:45 +0100)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 12 Nov 2013 10:45:10 +0000 (11:45 +0100)
game.js

diff --git a/game.js b/game.js
index ac5b69f80d0ad3cc9d313bec457f800c2d34c37d..aa47e743b1a3040f28b93265dc2eaeff11baf272 100644 (file)
--- a/game.js
+++ b/game.js
@@ -28,7 +28,7 @@ var LEVEL_POS = [
     [0, 2], [1, 2], [2, 2],\r
     [0, 1], [1, 1], [2, 1],\r
     [0, 0], [1, 0], [2, 0]\r
-];     \r
+];\r
 \r
 var state = LEVEL_SELECT;\r
 \r
@@ -37,9 +37,10 @@ var current_level = 1;
 var current_level_inst = null;\r
 \r
 function QueueChange(bead, sound) {\r
-    if (sound == null)\r
+    if (!sound) {\r
         sound = [];\r
-    bead_change.push(bead)\r
+    }\r
+    bead_change.push(bead);\r
     sounds.push(sound);\r
 }\r
 \r