1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 19:12:54 +08:00
Forgot the pharenteses
This commit is contained in:
ColdVolcano 2017-05-22 05:05:54 -05:00
parent 601b840713
commit 63196df541

View File

@ -68,7 +68,7 @@ namespace osu.Game.Screens.Menu
return; return;
TrackAmplitudes amp = beatmap.Value.Track.CurrentAmplitudes; TrackAmplitudes amp = beatmap.Value.Track.CurrentAmplitudes;
if (kiai ? newBeat % 2 == 0 : newBeat % (int)timeSignature) == 0) if (kiai ? newBeat % 2 == 0 : newBeat % (int)timeSignature == 0)
{ {
leftBox.ClearTransforms(); leftBox.ClearTransforms();
leftBox.FadeTo(Math.Max(0, (amp.LeftChannel - amplitude_dead_zone) / (kiai ? kiai_multiplier : alpha_multiplier)), 65); leftBox.FadeTo(Math.Max(0, (amp.LeftChannel - amplitude_dead_zone) / (kiai ? kiai_multiplier : alpha_multiplier)), 65);