Forgot to handle disconnect messages.
Fixed GetIPv4Address throwing socket exception
This commit is contained in:
parent
dcadec30de
commit
fc03e72c77
2 changed files with 12 additions and 4 deletions
|
|
@ -719,6 +719,7 @@ namespace TShockAPI
|
|||
senddisconnect(Netplay.serverSock[i], e.text);
|
||||
}
|
||||
}
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue