mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-05-06 01:14:27 +02:00
See saw doesn't grab events before the playback/gameswitch anymore (#428)
This commit is contained in:
parent
12cea93831
commit
f19f0bff41
@ -228,7 +228,7 @@ namespace HeavenStudio.Games
|
|||||||
List<DynamicBeatmap.DynamicEntity> tempEvents = new List<DynamicBeatmap.DynamicEntity>();
|
List<DynamicBeatmap.DynamicEntity> tempEvents = new List<DynamicBeatmap.DynamicEntity>();
|
||||||
for (int i = 0; i < jumpEvents.Count; i++)
|
for (int i = 0; i < jumpEvents.Count; i++)
|
||||||
{
|
{
|
||||||
if (jumpEvents[i].beat + jumpEvents[i].beat >= Conductor.instance.songPositionInBeats)
|
if (jumpEvents[i].beat >= Conductor.instance.songPositionInBeats)
|
||||||
{
|
{
|
||||||
tempEvents.Add(jumpEvents[i]);
|
tempEvents.Add(jumpEvents[i]);
|
||||||
}
|
}
|
||||||
@ -252,10 +252,6 @@ namespace HeavenStudio.Games
|
|||||||
}
|
}
|
||||||
tempEvents = tempEvents.Except(tempEvents2).ToList();
|
tempEvents = tempEvents.Except(tempEvents2).ToList();
|
||||||
allJumpEvents = tempEvents;
|
allJumpEvents = tempEvents;
|
||||||
foreach (var jump in allJumpEvents)
|
|
||||||
{
|
|
||||||
Debug.Log(jump.beat);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user