Fix UI sound verifier for volume playback

This commit is contained in:
2026-05-19 12:46:05 -07:00
parent 7c74d4f766
commit 86a0fcbb3f
+1 -1
View File
@@ -20,7 +20,7 @@ REQUIRED = {
], ],
UI_CPP: [ UI_CPP: [
"#include \"Kismet/GameplayStatics.h\"", "#include \"Kismet/GameplayStatics.h\"",
"UGameplayStatics::PlaySound2D(this, Sound);", "UGameplayStatics::PlaySound2D(this, Sound, FMath::Clamp(MasterVolume * UiVolume, 0.0f, 1.0f));",
"PlayUiSound(UiConfirmSound);", "PlayUiSound(UiConfirmSound);",
"PlayUiSound(UiBackSound);", "PlayUiSound(UiBackSound);",
"PlayUiSound(UiSelectionSound);", "PlayUiSound(UiSelectionSound);",