Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Christos Constantinou committed Apr 29, 2012
1 parent 3f9984a commit 70c29cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions scripts/watair/watair.js
Expand Up @@ -23,11 +23,9 @@ Sprite.prototype =

update: function(){},

setImage: function(imgRight, imgLeft)
setImage: function(img)
{
this.img = imgRight;
this.imgRight = imgRight;
this.imgLeft = imgLeft;
this.img = img;
},

debugDraw: function debugDraw(ctx)
Expand Down
1 change: 0 additions & 1 deletion server/server.js
Expand Up @@ -67,7 +67,6 @@ function setCoordinates(id, coordinates) {
//});

io.sockets.on('connection', function (socket) {
console.log(socket.store.store);
var playerNum = addPlayer(socket.id);
if (playerNum !== false)
{
Expand Down

0 comments on commit 70c29cb

Please sign in to comment.