diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp index 4cc1eaff3..94bb843da 100644 --- a/src/game/client/components/console.cpp +++ b/src/game/client/components/console.cpp @@ -465,7 +465,7 @@ void CGameConsole::OnRender() const char *pPrompt = "> "; if(m_ConsoleType == CONSOLETYPE_REMOTE) { - if(Client()->State() == IClient::STATE_ONLINE) + if(Client()->State() == IClient::STATE_ONLINE || Client()->State() == IClient::STATE_LOADING) { if(Client()->RconAuthed()) pPrompt = "rcon> "; @@ -482,7 +482,7 @@ void CGameConsole::OnRender() //hide rcon password char aInputString[256]; str_copy(aInputString, pConsole->m_Input.GetString(), sizeof(aInputString)); - if(m_ConsoleType == CONSOLETYPE_REMOTE && Client()->State() == IClient::STATE_ONLINE && !Client()->RconAuthed()) + if(m_ConsoleType == CONSOLETYPE_REMOTE && (Client()->State() == IClient::STATE_ONLINE || Client()->State() == IClient::STATE_LOADING) && !Client()->RconAuthed()) { for(int i = 0; i < pConsole->m_Input.GetLength(); ++i) aInputString[i] = '*';