Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion EXILED/Exiled.API/Features/Recontainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,16 @@ public static bool IsContainmentSequenceSuccessful
/// <summary>
/// Begins the overcharge procedure.
/// </summary>
public static void BeginOvercharge() => Base.BeginOvercharge();
/// <param name="endOvercharge">Make than <see cref="EndOvercharge"/> is call after the <see cref="LockdownDuration"/>.</param>
public static void BeginOvercharge(bool endOvercharge = true)
{
Base.BeginOvercharge();
if (endOvercharge)
{
Base._delayStopwatch.Stop();
Base._unlockStopwatch.Start();
}
}

/// <summary>
/// Ends the overcharge procedure.
Expand Down