From 86a0fcbb3ff9b7853c14c9d9a420384735fa1d87 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 19 May 2026 12:46:05 -0700 Subject: [PATCH] Fix UI sound verifier for volume playback --- Scripts/verify_ui_sounds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/verify_ui_sounds.py b/Scripts/verify_ui_sounds.py index 19c8c3b..cdca6e2 100644 --- a/Scripts/verify_ui_sounds.py +++ b/Scripts/verify_ui_sounds.py @@ -20,7 +20,7 @@ REQUIRED = { ], UI_CPP: [ "#include \"Kismet/GameplayStatics.h\"", - "UGameplayStatics::PlaySound2D(this, Sound);", + "UGameplayStatics::PlaySound2D(this, Sound, FMath::Clamp(MasterVolume * UiVolume, 0.0f, 1.0f));", "PlayUiSound(UiConfirmSound);", "PlayUiSound(UiBackSound);", "PlayUiSound(UiSelectionSound);",