From 2040c8d449c6d7ecd0f092f764d0bdc049820d59 Mon Sep 17 00:00:00 2001 From: MH261677 Date: Wed, 8 May 2024 14:44:32 +0100 Subject: [PATCH] Fixed Workbench being non-accessed when you dont have a weapon equiped --- .../Workbench&Attachments/WeaponWorkbenchClass.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/EndlessVendetta/Source/EndlessVendetta/Workbench&Attachments/WeaponWorkbenchClass.cpp b/EndlessVendetta/Source/EndlessVendetta/Workbench&Attachments/WeaponWorkbenchClass.cpp index 5fbb7457..cb6421c3 100644 --- a/EndlessVendetta/Source/EndlessVendetta/Workbench&Attachments/WeaponWorkbenchClass.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/Workbench&Attachments/WeaponWorkbenchClass.cpp @@ -26,7 +26,6 @@ void AWeaponWorkbenchClass::Tick(float DeltaTime) void AWeaponWorkbenchClass::Interact() { - if (!PlayerCharacterRef->bHasRifle) return; UE_LOG(LogTemp, Display, TEXT("Opening Workbench")); WorkbenchUI(); }