Permalink
Browse files

[fix] .which for right mouse button is 3

  • Loading branch information...
bmeck committed Mar 13, 2013
1 parent dab1f00 commit e3df4be32ede0991b9e4296140313f47687a6cd2
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
@@ -282,7 +282,7 @@ Game.prototype.defaultButtons = {
, 'S': 'backward'
, 'D': 'right'
, '<mouse 1>': 'fire'
-, '<mouse 2>': 'firealt'
+, '<mouse 3>': 'firealt'
, '<space>': 'jump'
, '<shift>': 'crouch'
, '<control>': 'alt'
@@ -666,4 +666,4 @@ Game.prototype.handleChunkGeneration = function() {
// teardown methods
Game.prototype.destroy = function() {
clearInterval(this.timer)
-}
+}

0 comments on commit e3df4be

Please sign in to comment.