Skip to content

Commit c4e8d5d

Browse files
committed
chore: StartupDirectToGame 的应用时机
1 parent 2d6056f commit c4e8d5d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

AquaMai.Mods/GameSystem/StartupDirectToGame.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717
namespace AquaMai.Mods.GameSystem;
1818

1919
[ConfigSection(
20-
name: "启动直达乐曲",
20+
name: "启动直达乐曲", defaultOn: true,
2121
en: "Launch directly into the song ID specified by --music after startup.",
2222
zh: "启动流程结束后直接进入通过 --music 传入的歌曲 ID")]
23-
[EnableIf(nameof(ShouldEnableImplicitly))]
24-
[EnableImplicitlyIf(nameof(ShouldEnableImplicitly))]
23+
[EnableIf(nameof(ShouldEnable))]
2524
public class StartupDirectToGame
2625
{
2726
private const byte ReadyState = 8;
@@ -73,7 +72,7 @@ public class StartupDirectToGame
7372
private static OptionSlidespeedID _slideSpeed;
7473
private static GameManager.AutoPlayMode _autoplay;
7574

76-
public static bool ShouldEnableImplicitly
75+
public static bool ShouldEnable
7776
{
7877
get
7978
{

AquaMai/configSort.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
- Fancy.HideMask
102102
- Tweaks.TimeSaving.CheckSkip
103103
- Utils.InstantQuit
104+
- GameSystem.StartupDirectToGame
104105
- Fancy.Triggers
105106

106107
过新过热(实验性):

0 commit comments

Comments
 (0)