Refactored disconnect handling, updated engine

This commit is contained in:
Light2
2013-12-15 23:49:12 +01:00
parent 8de830bb86
commit dce213cab1
19 changed files with 154 additions and 127 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ public class MissionService implements INetworkDispatch {
MissionListRequest request = new MissionListRequest();
request.deserialize(data);
Client client = core.getClient((Integer) session.getAttribute("connectionId"));
Client client = core.getClient(session);
if(client == null || client.getSession() == null)
return;