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:
@@ -96,6 +96,7 @@ func startSingleplayerGame():
|
||||
UIState.setPanel("SelectInitialFeed")
|
||||
if useTutorialBtn.button_pressed:
|
||||
tutorialWatched = true
|
||||
SaveEngine.save()
|
||||
|
||||
func _ready():
|
||||
historyStack = Composables.useHistoryStack(playerNameInput)
|
||||
|
||||
Reference in New Issue
Block a user