mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +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>();
|
||||
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]);
|
||||
}
|
||||
|
@ -252,10 +252,6 @@ namespace HeavenStudio.Games
|
|||
}
|
||||
tempEvents = tempEvents.Except(tempEvents2).ToList();
|
||||
allJumpEvents = tempEvents;
|
||||
foreach (var jump in allJumpEvents)
|
||||
{
|
||||
Debug.Log(jump.beat);
|
||||
}
|
||||
}
|
||||
|
||||
private void Update()
|
||||
|
|
Loading…
Reference in a new issue