mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +00:00
Stomp: Fixed issues with starting a march at the same time as a game switch.
This commit is contained in:
parent
273608ea6e
commit
f6966d4e35
1 changed files with 2 additions and 1 deletions
|
@ -68,9 +68,10 @@ namespace RhythmHeavenMania.Games.CropStomp
|
|||
for (int i = 0; i < marchStarts.Count; i++)
|
||||
{
|
||||
var sampleBeat = marchStarts[i].beat;
|
||||
if (cond.songPositionInBeats < sampleBeat)
|
||||
if (cond.songPositionInBeats <= sampleBeat + 0.25f) // 0.25-beat buffer in case the start marching event is directly next to the game switch event.
|
||||
{
|
||||
startBeat = sampleBeat;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue