Skip to content

Commit

Permalink
Fix client messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ezemtsov committed Jul 5, 2019
1 parent 68f8ea4 commit be72be6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ function msgMove(row, col, token) {
};
}

function msgConnect(name, mode, session) {
function msgConnect(playerName, mode, session) {
return {
method: 'Connect',
resource: {
playerName: name,
mode: mode,
session: session
playerName,
mode,
session
}
};
}
Expand Down

0 comments on commit be72be6

Please sign in to comment.