Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
songz committed Nov 25, 2013
1 parent 9c88c87 commit 2801b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node-poker.js
Expand Up @@ -218,7 +218,7 @@ function checkForBankrupt(table) {
var i;
for (i = 0; i < table.players.length; i += 1) {
if (table.players[i].chips === 0) {
table.gameLosers.push({ table.players[i] });
table.gameLosers.push( table.players[i] );
console.log('player ' + table.players[i].playerName + ' is going bankrupt');
table.players.splice(i, 1);
}
Expand Down

0 comments on commit 2801b3f

Please sign in to comment.