mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Allow changing UsernameReq while connected
This commit is contained in:
parent
81135d17de
commit
9ae2c16235
|
@ -783,7 +783,11 @@ void CGameConsole::ConchainConsoleOutputLevelUpdate(IConsole::IResult *pResult,
|
||||||
|
|
||||||
void CGameConsole::RequireUsername(bool UsernameReq)
|
void CGameConsole::RequireUsername(bool UsernameReq)
|
||||||
{
|
{
|
||||||
m_RemoteConsole.m_UsernameReq = UsernameReq;
|
if((m_RemoteConsole.m_UsernameReq = UsernameReq))
|
||||||
|
{
|
||||||
|
m_RemoteConsole.m_aUser[0] = '\0';
|
||||||
|
m_RemoteConsole.m_UserGot = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CGameConsole::PrintLine(int Type, const char *pLine)
|
void CGameConsole::PrintLine(int Type, const char *pLine)
|
||||||
|
|
Loading…
Reference in a new issue