完成部分服务器数据向MongoDB数据库迁移

This commit is contained in:
2025-07-20 21:05:31 +08:00
parent e466cde9d5
commit ec94e10fda
28 changed files with 2386 additions and 1785 deletions

View File

@@ -521,6 +521,10 @@ func _on_login_response_received(success: bool, message: String, user_data: Dict
# 调用主游戏的登录成功处理函数
main_game.handle_login_success(user_data)
# 初始化游戏设置
if main_game.game_setting_panel and main_game.game_setting_panel.has_method("refresh_settings"):
main_game.game_setting_panel.refresh_settings()
else:
status_label.text = "登录失败:" + message
status_label.modulate = Color.RED