mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-12 12:45:12 +00:00
See saw doesn't grab events before the playback/gameswitch anymore (#428)
This commit is contained in:
parent
e52cd0b2e9
commit
d8dd8b94bc
1 changed files with 1 additions and 5 deletions
|
@ -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…
Reference in a new issue