Skip to content

Commit

Permalink
suj
Browse files Browse the repository at this point in the history
  • Loading branch information
VALERA771 committed Aug 12, 2024
1 parent cac9a15 commit bddd7d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EXILED/Exiled.Events/EventArgs/Player/EscapedEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public EscapedEventArgs(Player player, EscapeScenario escapeScenario, Role role,
EscapeScenario = escapeScenario;
Team = kvp.Key;
Tickets = kvp.Value;
OldRole = role.Type;
OldRole = role;
EscapeTime = (int)Math.Ceiling(role.ActiveTime.TotalSeconds);
}

Expand All @@ -60,7 +60,7 @@ public EscapedEventArgs(Player player, EscapeScenario escapeScenario, Role role,
/// <summary>
/// Gets the previous role for this player.
/// </summary>
public RoleTypeId OldRole { get; }
public Role OldRole { get; }

/// <summary>
/// Gets the time in seconds since round started.
Expand Down

0 comments on commit bddd7d3

Please sign in to comment.