Bugfix Able to Shoot in Menus
This commit is contained in:
parent
8a8288fbff
commit
b4b248b5e7
BIN
Content/Levels/Build.umap
(Stored with Git LFS)
BIN
Content/Levels/Build.umap
(Stored with Git LFS)
Binary file not shown.
@ -67,6 +67,7 @@ void UHoldToInitCombat::OnClickDown()
|
||||
{
|
||||
if (!bHasBookAndGun) return;
|
||||
if (Cast<ATurnBaseCombatV2>(GetWorld()->GetGameState())->bIsInCombat) return;
|
||||
if (Cast<ATempCharacter>(GetWorld()->GetFirstPlayerController()->GetPawn())->bIsInDialogue || Cast<ATempCharacter>(GetWorld()->GetFirstPlayerController()->GetPawn())->bShopKeeperText || Cast<ATempCharacter>(GetWorld()->GetFirstPlayerController()->GetPawn())->InventoryWidget->IsVisible()) return;
|
||||
if (ReloadTimer > 0.0f) return;
|
||||
if (GunEffect)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user