fixed quiz show bug
This commit is contained in:
parent
250bef942b
commit
050cbc241d
|
|
@ -573,16 +573,7 @@ namespace HeavenStudio.Games
|
||||||
ScheduleAutoplayInput(beat, length + inputBeat, InputAction_Right, AutoplayAButton, Nothing, Nothing);
|
ScheduleAutoplayInput(beat, length + inputBeat, InputAction_Right, AutoplayAButton, Nothing, Nothing);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
int hundredLoops = Mathf.FloorToInt((float)countToMatch / 100f);
|
||||||
if (doingConsectiveIntervals)
|
|
||||||
{
|
|
||||||
countToMatch += relevantInputs.Count;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
countToMatch = relevantInputs.Count;
|
|
||||||
}
|
|
||||||
int hundredLoops = Mathf.FloorToInt(countToMatch / 100);
|
|
||||||
countToMatch -= hundredLoops * 100;
|
countToMatch -= hundredLoops * 100;
|
||||||
doingConsectiveIntervals = consecutive;
|
doingConsectiveIntervals = consecutive;
|
||||||
float timeUpBeat = 0f;
|
float timeUpBeat = 0f;
|
||||||
|
|
@ -598,6 +589,14 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
new BeatAction.Action(beat, delegate
|
new BeatAction.Action(beat, delegate
|
||||||
{
|
{
|
||||||
|
if (doingConsectiveIntervals)
|
||||||
|
{
|
||||||
|
countToMatch += relevantInputs.Count;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
countToMatch = relevantInputs.Count;
|
||||||
|
}
|
||||||
if (shouldPrepareArms)
|
if (shouldPrepareArms)
|
||||||
{
|
{
|
||||||
contesteeLeftArmAnim.DoScaledAnimationAsync("LeftPrepare", 0.5f);
|
contesteeLeftArmAnim.DoScaledAnimationAsync("LeftPrepare", 0.5f);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue