1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 15:03:10 +08:00

Change input variable name in Opacity function

This commit is contained in:
MBmasher 2021-11-30 13:52:58 +11:00
parent b0dc8bf061
commit 3339afd648

View File

@ -71,9 +71,9 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Preprocessing
setDistances(clockRate);
}
public double Opacity(double T, bool hidden)
public double Opacity(double mapTime, bool hidden)
{
double ms = (BaseObject.StartTime - T) / clockRate;
double ms = (BaseObject.StartTime - mapTime) / clockRate;
if (ms < 0)
return 0.0;
double preemptTime = BaseObject.TimePreempt / clockRate;