1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

fix(Starter): 保存教程观看状态时调用保存引擎

在开始单人游戏时,如果用户选择观看教程,现在会立即调用SaveEngine.save()来保存tutorialWatched状态,确保状态持久化。
This commit is contained in:
2026-05-09 21:41:14 +08:00
parent c31b3bdc4f
commit 62d7ecf93a
+1
View File
@@ -96,6 +96,7 @@ func startSingleplayerGame():
UIState.setPanel("SelectInitialFeed")
if useTutorialBtn.button_pressed:
tutorialWatched = true
SaveEngine.save()
func _ready():
historyStack = Composables.useHistoryStack(playerNameInput)