Merge pull request #7791 from swarfeya/master

Fix AFK when timing out
This commit is contained in:
Dennis Felsing 2024-01-12 23:12:01 +00:00 committed by GitHub
commit 80f77c500e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -209,7 +209,7 @@ void CPlayer::Tick()
if(Server()->GetNetErrorString(m_ClientID)[0])
{
SetAfk(true);
SetInitialAfk(true);
char aBuf[512];
str_format(aBuf, sizeof(aBuf), "'%s' would have timed out, but can use timeout protection now", Server()->ClientName(m_ClientID));