mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 11:37:40 +02:00
Fixed working dough and lockstep earrape bugs and tambourine interval bugs (#281)
* mr upbeat input fix + lockstep offbeat switch event seperation * Lockstep + MrUpbeat animation fixes * Fixes to lockstep, tambourine and wd
This commit is contained in:
@ -127,10 +127,7 @@ namespace HeavenStudio.Games
|
||||
|
||||
void OnDestroy()
|
||||
{
|
||||
if (!Conductor.instance.isPlaying || Conductor.instance.isPaused)
|
||||
{
|
||||
if (queuedInputs.Count > 0) queuedInputs.Clear();
|
||||
}
|
||||
if (queuedInputs.Count > 0) queuedInputs.Clear();
|
||||
}
|
||||
|
||||
public void Update()
|
||||
@ -236,7 +233,7 @@ namespace HeavenStudio.Games
|
||||
{
|
||||
if (GameManager.instance.currentGame == "lockstep")
|
||||
{
|
||||
for (int i = 0; i < length + 1; i++)
|
||||
for (int i = 0; i < length; i++)
|
||||
{
|
||||
Lockstep.instance.ScheduleInput(beat - 1, 1 + i, InputType.STANDARD_DOWN, Lockstep.instance.Just, Lockstep.instance.Miss, Lockstep.instance.Nothing);
|
||||
BeatAction.New(instance.gameObject, new List<BeatAction.Action>()
|
||||
@ -247,7 +244,7 @@ namespace HeavenStudio.Games
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < length + 1; i++)
|
||||
for (int i = 0; i < length; i++)
|
||||
{
|
||||
queuedInputs.Add(beat + i);
|
||||
}
|
||||
|
Reference in New Issue
Block a user