diff --git a/Exiled.Events/Handlers/Internal/Round.cs b/Exiled.Events/Handlers/Internal/Round.cs index 7554669fc5..ac135727ac 100644 --- a/Exiled.Events/Handlers/Internal/Round.cs +++ b/Exiled.Events/Handlers/Internal/Round.cs @@ -69,12 +69,11 @@ public static void OnChangingRole(ChangingRoleEventArgs ev) /// public static void OnActivatingSense(ActivatingSenseEventArgs ev) { - if (!Events.Instance.Config.CanScp049SenseTutorial || ev.Target is null || ev.Target.Role.Type is not RoleTypeId.Tutorial) + if (ev.Target is null) return; - if (ev.Scp049.SenseAbility.CanFindTarget(out ReferenceHub hub)) - ev.Target = Player.Get(hub); - else - ev.Target = null; + if ((Events.Instance.Config.CanScp049SenseTutorial || ev.Target.Role.Type is not RoleTypeId.Tutorial) && !Scp049Role.TurnedPlayers.Contains(ev.Target)) + return; + ev.Target = ev.Scp049.SenseAbility.CanFindTarget(out ReferenceHub hub) ? Player.Get(hub) : null; } ///