mirror of https://github.com/hykilpikonna/AquaDX
[F] JudgeAccuracyInfo crashes demo
AquaMai Build / build (push) Has been cancelled
Details
AquaMai Build / build (push) Has been cancelled
Details
parent
c42f17c96e
commit
8a728ad28a
|
@ -6,6 +6,7 @@ using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using AquaMai.Config.Attributes;
|
using AquaMai.Config.Attributes;
|
||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
|
using MAI2.Util;
|
||||||
using Manager;
|
using Manager;
|
||||||
using Monitor;
|
using Monitor;
|
||||||
using Monitor.Result;
|
using Monitor.Result;
|
||||||
|
@ -123,6 +124,9 @@ public class JudgeAccuracyInfo
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
var monitor = __instance.MonitorId;
|
var monitor = __instance.MonitorId;
|
||||||
|
var userData = Singleton<UserDataManager>.Instance.GetUserData(monitor);
|
||||||
|
if(!userData.IsEntry) return;
|
||||||
|
|
||||||
if (!__result || EntryList[monitor].NoteIndices.Contains(___NoteIndex)) return;
|
if (!__result || EntryList[monitor].NoteIndices.Contains(___NoteIndex)) return;
|
||||||
|
|
||||||
EntryList[monitor].NoteIndices.Add(___NoteIndex);
|
EntryList[monitor].NoteIndices.Add(___NoteIndex);
|
||||||
|
|
Loading…
Reference in New Issue