Merge pull request #53119 from Faless/net/4.x_enet_relay_fix

This commit is contained in:
Rémi Verschelde 2021-09-27 12:23:11 +02:00 committed by GitHub
commit a0ca7a673c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;