Files
UnrealEngine/Engine/Source/Programs/AutomationTool/Gauntlet/Unreal/Automation/UE.InterruptedCookByTheBook.cs
2025-05-18 13:04:45 +08:00

25 lines
432 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using Gauntlet;
namespace UE
{
public class InterruptedCookByTheBook : CookByTheBookEditors
{
public InterruptedCookByTheBook(UnrealTestContext InContext) : base(InContext)
{
// Do nothing
}
public override void TickTest()
{
base.TickTest();
if (!IsEditorRestarted && Checker.HasValidated(CookingInProgressKey))
{
RestartEditorRole();
}
}
}
}