diff --git a/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp b/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp index 12181d9..c97a2cf 100644 --- a/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp +++ b/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp @@ -54,9 +54,9 @@ void ATempCharacter::BeginPlay() // ImportantStatsWidget->SetVisibility(ESlateVisibility::Visible); // ImportantStatsWidget->AddToViewport(); - MainMenuWidget = CreateWidget(GetWorld(), MainMenuSub); - MainMenuWidget->SetVisibility(ESlateVisibility::Hidden); - MainMenuWidget->AddToViewport(); + InventoryWidget = CreateWidget(GetWorld(), InventoryMenuSub); + InventoryWidget->SetVisibility(ESlateVisibility::Hidden); + InventoryWidget->AddToViewport(); } //Binds the input we made in the setup player component to the forward vector diff --git a/Source/the_twilight_abyss/PlayerTemp/TempCharacter.h b/Source/the_twilight_abyss/PlayerTemp/TempCharacter.h index 3bb60c9..34d6aac 100644 --- a/Source/the_twilight_abyss/PlayerTemp/TempCharacter.h +++ b/Source/the_twilight_abyss/PlayerTemp/TempCharacter.h @@ -119,13 +119,13 @@ public: UUserWidget* ImportantStats; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Widgets") - UUserWidget* MainMenuWidget; + UUserWidget* InventoryWidget; UPROPERTY(EditAnywhere, Category= "Widgets") TSubclassOf ImportantStatsSub; UPROPERTY(EditAnywhere, Category= "Widgets") - TSubclassOf MainMenuSub; + TSubclassOf InventoryMenuSub; UPROPERTY(EditAnywhere, Category= "Widgets") TSubclassOf CrossHairSub;