mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Simplify chat check after rearranging player input
This commit is contained in:
parent
44e94ee75a
commit
bc17b29100
|
@ -554,7 +554,7 @@ void CPlayer::OnPredictedEarlyInput(CNetObj_PlayerInput *NewInput)
|
|||
m_Spawning = true;
|
||||
|
||||
// skip the input if chat is active
|
||||
if((m_PlayerFlags & PLAYERFLAG_CHATTING) && (NewInput->m_PlayerFlags & PLAYERFLAG_CHATTING))
|
||||
if(m_PlayerFlags & PLAYERFLAG_CHATTING)
|
||||
return;
|
||||
|
||||
if(m_pCharacter && !m_Paused)
|
||||
|
|
Loading…
Reference in a new issue