Fixed a huge problem with the sessioninfos array

pull/184/merge
Peter 'Pita' Martischka 2011-11-13 20:33:13 -08:00
parent a5a9592031
commit 9eac04aaa6
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ exports.handleDisconnect = function(client)
{
if(pad2sessions[sessionPad][i] == client.id)
{
delete pad2sessions[sessionPad][i];
pad2sessions[sessionPad].splice(i, 1);
break;
}
}