mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Client: add note for reconnect logic
Potential engine bug that needs to be fixed to allow reconnecting to listen server without killing it.
This commit is contained in:
parent
f2c64b390c
commit
20e0d0ee53
@ -475,6 +475,10 @@ void CClientState::Reconnect()
|
||||
|
||||
const netadr_t& remoteAdr = m_NetChannel->GetRemoteAddress();
|
||||
|
||||
// NOTE: technically the engine supports running "connect localhost" to
|
||||
// reconnect to the listen server without killing it, however when running
|
||||
// this, an engine error occurs "Couldn't create a world static vertex buffer\n"
|
||||
// Needs investigation.
|
||||
if (remoteAdr.IsLoopback() || NET_IsRemoteLocal(remoteAdr))
|
||||
{
|
||||
Warning(eDLL_T::CLIENT, "Reconnecting to a listen server isn't supported, use \"reload\" instead.\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user