forked from mirror/openmw-tes3mp
[Broser] Break while loop if connection was closed
This commit is contained in:
parent
d3bf4ec577
commit
50c839d425
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ MASTER_PACKETS QueryClient::GetAnswer()
|
|||
data.Read(pid);
|
||||
switch(pid)
|
||||
{
|
||||
case ID_DISCONNECTION_NOTIFICATION:
|
||||
case ID_CONNECTION_LOST:
|
||||
update = false;
|
||||
break;
|
||||
case ID_MASTER_QUERY:
|
||||
pmq->Read();
|
||||
update = false;
|
||||
|
|
Loading…
Reference in a new issue