diff --git a/Content.Server/Afk/AFKSystem.cs b/Content.Server/Afk/AFKSystem.cs index 0f2bc52112..ca7fff26ad 100644 --- a/Content.Server/Afk/AFKSystem.cs +++ b/Content.Server/Afk/AFKSystem.cs @@ -75,6 +75,8 @@ public sealed class AFKSystem : EntitySystem foreach (var session in Filter.GetAllPlayers()) { + if (session.Status != SessionStatus.InGame) continue; + var pSession = (IPlayerSession) session; var isAfk = _afkManager.IsAfk(pSession);