diff --git a/Common Utilities/EventHandlers/PlayerHandlers.cs b/Common Utilities/EventHandlers/PlayerHandlers.cs index 5d15c6b..2a24b5a 100644 --- a/Common Utilities/EventHandlers/PlayerHandlers.cs +++ b/Common Utilities/EventHandlers/PlayerHandlers.cs @@ -5,6 +5,7 @@ namespace Common_Utilities.EventHandlers; using System.Collections.Generic; using System.Linq; using ConfigObjects; +using Exiled.API.Enums; using Exiled.API.Features; using Exiled.API.Features.Roles; using Exiled.CustomItems.API.Features; @@ -130,6 +131,7 @@ public void OnEscaping(EscapingEventArgs ev) { ev.NewRole = newRole; ev.IsAllowed = newRole != RoleTypeId.None; + ev.EscapeScenario = EscapeScenario.CustomEscape; } }