Fixed Workbench being non-accessed when you dont have a weapon equiped
This commit is contained in:
parent
9456284533
commit
2040c8d449
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user