Simplify chat check after rearranging player input

This commit is contained in:
Zwelf 2022-05-21 21:40:11 +02:00
parent 44e94ee75a
commit bc17b29100

View file

@ -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)