mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 08:00:56 -04:00
[Broser] Break while loop if connection was closed
This commit is contained in:
parent
d3bf4ec577
commit
50c839d425
@ -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…
x
Reference in New Issue
Block a user