From 1d215f28c44db4812d9b0950df06bf573c37c922 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sat, 28 Oct 2023 10:21:12 +0000 Subject: [PATCH] Scripts/GameManager.gd aktualisiert --- Scripts/GameManager.gd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Scripts/GameManager.gd b/Scripts/GameManager.gd index e414da5..f3ef097 100644 --- a/Scripts/GameManager.gd +++ b/Scripts/GameManager.gd @@ -98,9 +98,7 @@ func process_snake_rotation(): func _ready(): #load Config - var err = config.load("user://config.cfg") - if err != OK: - return + config.load("user://config.cfg") map_size = config.get_value("Game Play", "grid_size", 10) speed = float(config.get_value("Game Play", "speed", 1)) print(speed)