Merge pull request #53119 from Faless/net/4.x_enet_relay_fix
This commit is contained in:
commit
a0ca7a673c
@ -173,7 +173,7 @@ bool ENetMultiplayerPeer::_poll_server() {
|
|||||||
|
|
||||||
emit_signal(SNAME("peer_disconnected"), id);
|
emit_signal(SNAME("peer_disconnected"), id);
|
||||||
peers.erase(id);
|
peers.erase(id);
|
||||||
if (!server_relay) {
|
if (server_relay) {
|
||||||
_notify_peers(id, false);
|
_notify_peers(id, false);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user