From bcb0647926f57db8042a10273a305c93facbdf77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Tue, 25 Jan 2022 10:15:46 +0100 Subject: [PATCH] Fix loading of camera position settings --- settings/global_settings.gd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/settings/global_settings.gd b/settings/global_settings.gd index ef4d5db..bcc7274 100644 --- a/settings/global_settings.gd +++ b/settings/global_settings.gd @@ -42,9 +42,9 @@ func _ready() -> void: if stored_config.has("camera"): camera_fov = stored_config["camera"].get("fov", 70) - camera_move_depth = stored_config["camera"].get("camera_move_depth", 0) - camera_move_horizontal = stored_config["camera"].get("camera_move_horizontal", 0) - camera_move_vertical = stored_config["camera"].get("camera_move_vertical", 0) + camera_move_depth = stored_config["camera"].get("move_depth", 0) + camera_move_horizontal = stored_config["camera"].get("move_horizontal", 0) + camera_move_vertical = stored_config["camera"].get("move_vertical", 0) func read_json_file(file_path: String) -> Dictionary: