Fixes for player disconnection handling
- Fixed lack of notification if player disconnects via connection loss, e.g. app crash / network going down - Replaced notification via chat message with notification via info window
This commit is contained in:
1 parent
b79897f598
commit
371eac070f
4 files changed
+46
-20
No files matched your search
@@ -108,6 +108,7 @@ void ClientPermissionsCheckerNetPackVisitor::visitLobbyClientDisconnected(LobbyC
|
||||
|
||||
void ApplyOnServerNetPackVisitor::visitLobbyClientDisconnected(LobbyClientDisconnected & pack)
|
||||
{
|
||||
pack.c->getConnection()->close();
|
||||
srv.clientDisconnected(pack.c);
|
||||
result = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user