Fixed Workbench being non-accessed when you dont have a weapon equiped

This commit is contained in:
MH261677 2024-05-08 14:44:32 +01:00
parent 9456284533
commit 2040c8d449

View File

@ -26,7 +26,6 @@ void AWeaponWorkbenchClass::Tick(float DeltaTime)
void AWeaponWorkbenchClass::Interact() void AWeaponWorkbenchClass::Interact()
{ {
if (!PlayerCharacterRef->bHasRifle) return;
UE_LOG(LogTemp, Display, TEXT("Opening Workbench")); UE_LOG(LogTemp, Display, TEXT("Opening Workbench"));
WorkbenchUI(); WorkbenchUI();
} }