From bc17b2910093174633a1b5d6a76ee68ad78aa42d Mon Sep 17 00:00:00 2001 From: Zwelf Date: Sat, 21 May 2022 21:40:11 +0200 Subject: [PATCH] Simplify chat check after rearranging player input --- src/game/server/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/player.cpp b/src/game/server/player.cpp index a97cf8abb..d77d046d3 100644 --- a/src/game/server/player.cpp +++ b/src/game/server/player.cpp @@ -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)