Skip to content

Commit

Permalink
Merge pull request ddnet#7791 from swarfeya/master
Browse files Browse the repository at this point in the history
Fix AFK when timing out
  • Loading branch information
def- authored Jan 12, 2024
2 parents 32e585b + 79bc3b2 commit 80f77c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/server/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 80f77c5

Please sign in to comment.