diff --git a/Qwilight/Assets/Language.json b/Qwilight/Assets/Language.json index fbfd01d..a847a6b 100644 --- a/Qwilight/Assets/Language.json +++ b/Qwilight/Assets/Language.json @@ -3459,6 +3459,10 @@ "ko-KR": "실시간 랭킹", "en-US": "Real-time Ranking" }, + "UnavailableDate": { + "ko-KR": "게임 설정에서 업데이트 후 접속 가능합니다", + "en-US": "You can access it after updating it in the game settings." + }, "UndoContents": { "ko-KR": "다시 시도", "en-US": "Retry" diff --git a/Qwilight/System/LanguageSystem/LanguageSystem.g.cs b/Qwilight/System/LanguageSystem/LanguageSystem.g.cs index eac720c..ab557fe 100644 --- a/Qwilight/System/LanguageSystem/LanguageSystem.g.cs +++ b/Qwilight/System/LanguageSystem/LanguageSystem.g.cs @@ -867,6 +867,7 @@ public string UIMainDrawingPaint { get; set; } public string UIMainJudgmentMeter { get; set; } public string UINet { get; set; } + public string UnavailableDate { get; set; } public string UndoContents { get; set; } public string ValveEnrollText { get; set; } public string VeilDrawingContents { get; set; } diff --git a/Qwilight/System/TwilightSystem.cs b/Qwilight/System/TwilightSystem.cs index c46e552..bbc2dc7 100644 --- a/Qwilight/System/TwilightSystem.cs +++ b/Qwilight/System/TwilightSystem.cs @@ -294,7 +294,7 @@ case Event.Types.EventID.UnavailableDate: if (!Configure.Instance.AutoGetQwilight) { - NotifySystem.Instance.Notify(NotifySystem.NotifyVariety.Info, NotifySystem.NotifyConfigure.Default, eventItemText, false); + NotifySystem.Instance.Notify(NotifySystem.NotifyVariety.Info, NotifySystem.NotifyConfigure.Default, LanguageSystem.Instance.UnavailableDate); } break; case Event.Types.EventID.LogIn: diff --git a/Qwilight/ViewModel/MainViewModel.cs b/Qwilight/ViewModel/MainViewModel.cs index 90f3561..afae5e2 100644 --- a/Qwilight/ViewModel/MainViewModel.cs +++ b/Qwilight/ViewModel/MainViewModel.cs @@ -3312,7 +3312,7 @@ var toNewFiles = taehuiQwilightDateValue.hashes.Keys.Except(hashes.Keys).ToArray(); var toModifyFiles = taehuiQwilightDateValue.hashes.Keys.Intersect(hashes.Keys).Where(toModifyFile => hashes[toModifyFile] != taehuiQwilightDateValue.hashes[toModifyFile]).ToArray(); - if (QwilightComponent.Date < date || toWipeFiles.Length > 0 || toNewFiles.Length > 0 || toModifyFiles.Length > 0) + if (QwilightComponent.Date != date || toWipeFiles.Length > 0 || toNewFiles.Length > 0 || toModifyFiles.Length > 0) { if (isSilent) {