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);",