Cleaning up those dang warnings (#826)

* done i think

wahoo

* this one too

lol
This commit is contained in:
ThePurpleAnon
2024-04-07 16:25:54 -05:00
committed by minenice55
parent 5d8daa784c
commit 904763b296
20 changed files with 47 additions and 45 deletions

View File

@ -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;