Skip to content

Commit 79d8e1f

Browse files
committed
fix: missing SpawnSoundAttached for jump/land sounds
1 parent d0c4d33 commit 79d8e1f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
0 Bytes
Binary file not shown.

Source/PBCharacterMovement/Private/Character/PBPlayerMovement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ void UPBPlayerMovement::OnMovementModeChanged(EMovementMode PreviousMovementMode
879879
/*UPBGameplayStatics::PlaySound(Sound, GetCharacterOwner(),
880880
// FVector(0.0f, 0.0f, -GetCharacterOwner()->GetCapsuleComponent()->GetScaledCapsuleHalfHeight()),
881881
EPBSoundCategory::Footstep);*/
882-
882+
UGameplayStatics::SpawnSoundAttached(Sound, GetCharacterOwner()->GetRootComponent());
883883
}
884884
}
885885

0 commit comments

Comments
 (0)