mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Rename variable for clarity
This commit is contained in:
parent
7d979e1264
commit
438d97f4f5
@ -76,14 +76,14 @@ namespace osu.Game.Rulesets.Mods
|
||||
};
|
||||
}
|
||||
|
||||
private const int segment_bar_length = 4;
|
||||
private const int bars_per_segment = 4;
|
||||
|
||||
protected override void OnNewBeat(int beatIndex, TimingControlPoint timingPoint, EffectControlPoint effectPoint, TrackAmplitudes amplitudes)
|
||||
{
|
||||
base.OnNewBeat(beatIndex, timingPoint, effectPoint, amplitudes);
|
||||
|
||||
int beatsPerBar = (int)timingPoint.TimeSignature;
|
||||
int segmentLength = beatsPerBar * Divisor * segment_bar_length;
|
||||
int segmentLength = beatsPerBar * Divisor * bars_per_segment;
|
||||
|
||||
if (!IsBeatSyncedWithTrack)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user