Fix loading of camera position settings

main
Ensar Sarajčić 2022-01-25 10:15:46 +01:00
parent d6ec1c407b
commit bcb0647926
1 changed files with 3 additions and 3 deletions

View File

@ -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: