Scripts/GameManager.gd aktualisiert
All checks were successful
godot-ci export / Export Game (push) Successful in 2m5s

This commit is contained in:
Snoweuph 2023-10-28 10:21:12 +00:00
parent 548bf4279d
commit 1d215f28c4

View file

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