From e5940a41b9ea8f4cac80e1f179af84fd770acca3 Mon Sep 17 00:00:00 2001 From: Jamie Taylor Date: Fri, 18 Apr 2025 20:42:49 +0900 Subject: [PATCH] More explicitly define arithmatic precedence --- osu.Game/Screens/Edit/Submission/SubmissionStageProgress.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Screens/Edit/Submission/SubmissionStageProgress.cs b/osu.Game/Screens/Edit/Submission/SubmissionStageProgress.cs index c47aea8a0a..208e06d917 100644 --- a/osu.Game/Screens/Edit/Submission/SubmissionStageProgress.cs +++ b/osu.Game/Screens/Edit/Submission/SubmissionStageProgress.cs @@ -157,7 +157,7 @@ namespace osu.Game.Screens.Edit.Submission return; sampleChannel.Frequency.Value = 0.5f + (width * 1.5f); - sampleChannel.Volume.Value = 0.25f + (width / 2f) * .75f; + sampleChannel.Volume.Value = 0.25f + ((width / 2f) * .75f); sampleChannel.Play(); lastSamplePlayback = Time.Current;