mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-23 18:15:13 +00:00
Stomp: Fixed issues with starting a march at the same time as a game switch.
This commit is contained in:
parent
197332c2a5
commit
d5b460f936
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