make oop check match parity

This commit is contained in:
minenice55 2022-09-17 23:21:55 -04:00
parent ecd03a664a
commit d4deeaf5f7
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ namespace HeavenStudio.Games
{ {
public class Minigame : MonoBehaviour public class Minigame : MonoBehaviour
{ {
public static float earlyTime = 0.1f, perfectTime = 0.08f, aceEarlyTime = 0.02f, aceLateTime = 0.02f, lateTime = 0.08f, endTime = 0.1f; public static float earlyTime = 0.12f, perfectTime = 0.09f, aceEarlyTime = 0.025f, aceLateTime = 0.025f, lateTime = 0.09f, endTime = 0.12f;
public List<Minigame.Eligible> EligibleHits = new List<Minigame.Eligible>(); public List<Minigame.Eligible> EligibleHits = new List<Minigame.Eligible>();
[System.Serializable] [System.Serializable]

View file

@ -72,7 +72,6 @@ namespace HeavenStudio.Games
if (IsCorrectInput() && !autoplayOnly) if (IsCorrectInput() && !autoplayOnly)
{ {
justHit = true;
if (state.perfect) if (state.perfect)
{ {
Hit(stateProg); Hit(stateProg);
@ -140,6 +139,7 @@ namespace HeavenStudio.Games
{ {
if(canHit) if(canHit)
{ {
justHit = true;
OnHit(this, state); OnHit(this, state);
CleanUp(); CleanUp();
} else } else