This commit is contained in:
SoulliesOfficial
2025-08-11 07:34:24 -04:00
parent 19ff2f4862
commit dc530472ba
20 changed files with 16372 additions and 18052 deletions

View File

@@ -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;

View File

@@ -47,9 +47,7 @@ namespace Ichni.RhythmGame
{
selectSubmodule ??= new SelectSubmodule(this, note);
}
public override void SetUpInspector()
{
base.SetUpInspector();
@@ -64,6 +62,7 @@ namespace Ichni.RhythmGame
inspector.GenerateToggle(this, settingsSubcontainer, "Highlight", nameof(isHighlighted))
.AddListenerFunction(SetHighlight);
}
public virtual void Recover()
{