Removed Merchant Soft Lock for Build

Merchant SEVERELY BUGGY FUNCTIONALITY HAS BEEN DISABLED
This commit is contained in:
Philip W 2023-03-14 03:26:14 +00:00
parent ca87feaf2a
commit c5409fcaa7
7 changed files with 13 additions and 12 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/Levels/Build.umap (Stored with Git LFS)

Binary file not shown.

View File

@ -41,7 +41,7 @@ void AInteraction::BeginPlay()
//Item Selector refs
ItemSelectorWidget = CreateWidget<UUserWidget>(GetWorld(), ItemSelector);
ItemSelectorWidget->SetVisibility(ESlateVisibility::Hidden);
ItemSelectorWidget->AddToViewport();
//ItemSelectorWidget->AddToViewport();
//We are getting the property of interaction since we need a reference for when we cast in BP and we need the reference to be self
Property = ItemSelectorWidget->GetClass()->FindPropertyByName("publicActor");
@ -102,6 +102,7 @@ void AInteraction::RemoveWidget()
UE_LOG(LogTemp, Display, TEXT("You cant open this widget when this widget is open"));
}
UE_LOG(LogTemp, Display, TEXT("setting isDisabled to true"));
ExitScreen();
if (Property == nullptr)
{

View File

@ -11,7 +11,7 @@ UQuestSystem::UQuestSystem()
// off to improve performance if you don't need them.
PrimaryComponentTick.bCanEverTick = true;
static ConstructorHelpers::FClassFinder<UUserWidget> QuestWidgetClass(TEXT("/Game/Quest_UI/Quest_UI"));
static ConstructorHelpers::FClassFinder<UUserWidget> QuestWidgetClass(TEXT("/Game/Blueprints/Quest_UI/Quest_UI"));
QuestWidget = QuestWidgetClass.Class;
}