Scripts/GameManager.gd aktualisiert
All checks were successful
godot-ci export / Export Game (push) Successful in 2m5s
All checks were successful
godot-ci export / Export Game (push) Successful in 2m5s
This commit is contained in:
parent
548bf4279d
commit
1d215f28c4
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue