mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 21:47:39 +02:00
fix doubled input responses in some menus
decimal marker weights
This commit is contained in:
@ -121,7 +121,7 @@ namespace HeavenStudio
|
||||
float[] categoryInputs;
|
||||
double[] categoryScores;
|
||||
string msg0, msg1, msg2;
|
||||
float barTime = 0, barStartTime = float.MaxValue;
|
||||
float barTime = 0, barStartTime = float.MaxValue, didEpilogueTime = float.MaxValue;
|
||||
Rank rank;
|
||||
bool twoMessage = false, barStarted = false, didRank = false, didEpilogue = false, subRank = false;
|
||||
|
||||
@ -574,12 +574,13 @@ namespace HeavenStudio
|
||||
audioSource.PlayOneShot(jglHi);
|
||||
}
|
||||
didEpilogue = true;
|
||||
didEpilogueTime = Time.realtimeSinceStartup + 1.5f;
|
||||
}
|
||||
else if (didEpilogue)
|
||||
else if (didEpilogue && Time.realtimeSinceStartup > didEpilogueTime)
|
||||
{
|
||||
audioSource.Stop();
|
||||
RiqFileHandler.ClearCache();
|
||||
GlobalGameManager.LoadScene("Title", 0.35f, 0.5f);
|
||||
RiqFileHandler.ClearCache();
|
||||
}
|
||||
else if (barStarted)
|
||||
{
|
||||
|
Reference in New Issue
Block a user