mirror of
https://github.com/hykilpikonna/AquaDX.git
synced 2026-04-24 23:07:22 -05:00
[F] PracticeMode 在 1.50 以下版本的兼容性
This commit is contained in:
parent
a52bfd4596
commit
a2eab0f5c0
|
|
@ -230,4 +230,6 @@ public static class Shim
|
|||
}
|
||||
|
||||
public static readonly Action<bool> Set_GameManager_IsNormalMode = GameInfo.GameVersion < 25500 ? (_) => { } : (value) => { GameManager.IsNormalMode = value; };
|
||||
private static readonly Func<bool> IsKaleidxScopeModeGetter = GameInfo.GameVersion < 25000 ? () => false : () => GameManager.IsKaleidxScopeMode;
|
||||
public static bool IsKaleidxScopeMode => IsKaleidxScopeModeGetter();
|
||||
}
|
||||
|
|
@ -261,7 +261,7 @@ public class PracticeMode
|
|||
[HarmonyPrefix]
|
||||
public static bool NotesManagerPostUpdateTimer(bool ____isPlaying, Stopwatch ____stopwatch, ref float ____curMSec, ref float ____curMSecPre, float ____msecStartGap)
|
||||
{
|
||||
if (isInAdvDemo || GameManager.IsKaleidxScopeMode)
|
||||
if (isInAdvDemo || Shim.IsKaleidxScopeMode)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user