mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 18:50:29 +00:00
Merge pull request #4471 from GregorR/netplay-info-disconnection-reason
Make the client send an INFO even if it's wrong
This commit is contained in:
commit
a7b26d8913
@ -832,6 +832,15 @@ error:
|
||||
RARCH_ERR("%s\n", dmsg);
|
||||
runloop_msg_queue_push(dmsg, 1, 180, false);
|
||||
}
|
||||
|
||||
if (!netplay->is_server)
|
||||
{
|
||||
/* Counter-intuitively, we still want to send our info. This is simply so
|
||||
* that the server knows why we disconnected. */
|
||||
if (!netplay_handshake_info(netplay, connection))
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user