Fixed a huge problem with the sessioninfos array

This commit is contained in:
Peter 'Pita' Martischka 2011-11-13 20:33:13 -08:00
parent a5a9592031
commit 9eac04aaa6

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;
}
}