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:
Twinaphex 2017-01-21 19:51:10 +01:00 committed by GitHub
commit a7b26d8913

View File

@ -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;
}
/**