mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix condition for eye emote (fixes #3536)
This commit is contained in:
parent
989d26bfec
commit
4eeb14d2f4
|
@ -801,7 +801,7 @@ void CPlayer::OverrideDefaultEmote(int Emote, int Tick)
|
|||
|
||||
bool CPlayer::CanOverrideDefaultEmote() const
|
||||
{
|
||||
return m_LastEyeEmote > 0 && m_LastEyeEmote + (int64_t)g_Config.m_SvEyeEmoteChangeDelay * Server()->TickSpeed() >= Server()->Tick();
|
||||
return m_LastEyeEmote == 0 || m_LastEyeEmote + (int64_t)g_Config.m_SvEyeEmoteChangeDelay * Server()->TickSpeed() < Server()->Tick();
|
||||
}
|
||||
|
||||
void CPlayer::ProcessPause()
|
||||
|
|
Loading…
Reference in a new issue