summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheinrich5991 <heinrich5991@gmail.com>2018-09-27 13:21:12 +0200
committerheinrich5991 <heinrich5991@gmail.com>2018-10-12 22:09:04 +0200
commit480de5cf65b28ee8ef30af987bf9f363aa39f778 (patch)
tree6c9f6c595b8df7c775634634d3ff5a9f7016ab3c
parentc56a13c60077ccc890bf8304751c1c351c1be78e (diff)
Add `MSGFLAG_FLUSH` to the initial game client info
This prevents the 500ms timeout from triggering.
-rw-r--r--src/game/client/gameclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp
index 77187b5ef..15aaed215 100644
--- a/src/game/client/gameclient.cpp
+++ b/src/game/client/gameclient.cpp
@@ -1076,7 +1076,7 @@ void CGameClient::SendInfo(bool Start)
Msg.m_UseCustomColor = g_Config.m_PlayerUseCustomColor;
Msg.m_ColorBody = g_Config.m_PlayerColorBody;
Msg.m_ColorFeet = g_Config.m_PlayerColorFeet;
- Client()->SendPackMsg(&Msg, MSGFLAG_VITAL);
+ Client()->SendPackMsg(&Msg, MSGFLAG_VITAL|MSGFLAG_FLUSH);
}
else
{