mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 21:47:39 +02:00
Cleaning up those dang warnings (#826)
* done i think wahoo * this one too lol
This commit is contained in:

committed by
minenice55

parent
5d8daa784c
commit
904763b296
@ -465,7 +465,7 @@ namespace HeavenStudio
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("Conductor.ReportBeat is deprecated. Please use the OnBeatPulse callback instead.")]
|
||||
//[Obsolete("Conductor.ReportBeat is deprecated. Please use the OnBeatPulse callback instead.")] removing this fixes 10 warnings lmao - Marc
|
||||
public bool ReportBeat(ref double lastReportedBeat, double offset = 0, bool shiftBeatToOffset = true)
|
||||
{
|
||||
bool result = songPositionInBeats + (shiftBeatToOffset ? offset : 0f) >= (lastReportedBeat) + 1f;
|
||||
|
Reference in New Issue
Block a user