Fixed a huge problem with the sessioninfos array
This commit is contained in:
parent
a5a9592031
commit
9eac04aaa6
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ exports.handleDisconnect = function(client)
|
|||
{
|
||||
if(pad2sessions[sessionPad][i] == client.id)
|
||||
{
|
||||
delete pad2sessions[sessionPad][i];
|
||||
pad2sessions[sessionPad].splice(i, 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue