Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request #28 from derek-smith/patch-1
Browse files Browse the repository at this point in the history
Added break statement to avoid Exceptions in loop

Looks good, thanks!
  • Loading branch information
tlhunter committed Aug 17, 2012
2 parents 0065479 + af62a51 commit b876105
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/scripts/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ window.app = {
var player = app.players.data[i];
if (player.session == session) {
app.players.data.splice(i, 1);
break;
}
}
}
Expand Down

0 comments on commit b876105

Please sign in to comment.