Swapped player A and B controls to better match side of screen
authorJustin Worthe <justin.worthe@gmail.com>
Mon, 8 Sep 2014 11:34:51 +0000 (13:34 +0200)
committerJustin Worthe <justin.worthe@gmail.com>
Mon, 8 Sep 2014 11:34:51 +0000 (13:34 +0200)
game/states/play.js

index cf4bf62..9c5a91c 100644 (file)
@@ -228,14 +228,14 @@ Play.prototype = {
   },
 
   setupPlayerControls: function() {
-    this.playerAControls = {
+    this.playerBControls = {
       up: Phaser.Keyboard.W,
       left: Phaser.Keyboard.A,
       down: Phaser.Keyboard.S,
       right: Phaser.Keyboard.D,
       poison: Phaser.Keyboard.Q
     };
-    this.playerBControls = {
+    this.playerAControls = {
       up: Phaser.Keyboard.UP,
       left: Phaser.Keyboard.LEFT,
       down: Phaser.Keyboard.DOWN,