微调
This commit is contained in:
@@ -162,7 +162,7 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
for (int i = 0; i < animations.Count; i++)
|
||||
{
|
||||
if (nowTime >= animations[i].startTime && nowTime <= animations[i].endTime)
|
||||
if (nowTime >= animations[i].startTime && nowTime < animations[i].endTime)
|
||||
{
|
||||
currentAnimationIndex = i;
|
||||
return animations[i];
|
||||
@@ -175,7 +175,7 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
for (int i = 0; i < animations.Count - 1; i++)
|
||||
{
|
||||
if (nowTime >= animations[i].startTime && nowTime <= animations[i + 1].startTime)
|
||||
if (nowTime >= animations[i].startTime && nowTime < animations[i + 1].startTime)
|
||||
{
|
||||
currentAnimationIndex = i;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user