Compare commits
2 commits
037678da99
...
44f490b00a
Author | SHA1 | Date | |
---|---|---|---|
44f490b00a | |||
16e68e2b16 |
3 changed files with 4 additions and 3 deletions
|
@ -7,7 +7,7 @@ advanced_options=false
|
||||||
dedicated_server=false
|
dedicated_server=false
|
||||||
custom_features=""
|
custom_features=""
|
||||||
export_filter="all_resources"
|
export_filter="all_resources"
|
||||||
include_filter=""
|
include_filter="*.xml, *.png"
|
||||||
exclude_filter=""
|
exclude_filter=""
|
||||||
export_path="../export/FunkPanion/FunkPanion-win.zip"
|
export_path="../export/FunkPanion/FunkPanion-win.zip"
|
||||||
encryption_include_filters=""
|
encryption_include_filters=""
|
||||||
|
|
|
@ -11,7 +11,7 @@ config_version=5
|
||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="FunkPanion"
|
config/name="FunkPanion"
|
||||||
config/version="0.9.0"
|
config/version="0.9.1"
|
||||||
run/main_scene="res://scenes/main.tscn"
|
run/main_scene="res://scenes/main.tscn"
|
||||||
run/disable_stderr=true
|
run/disable_stderr=true
|
||||||
config/use_custom_user_dir=true
|
config/use_custom_user_dir=true
|
||||||
|
|
|
@ -3,7 +3,6 @@ extends Config
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
# Called when the node enters the scene tree for the first time.
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
self.clone_config(Config.new_clear())
|
|
||||||
load_from_file()
|
load_from_file()
|
||||||
|
|
||||||
func bind_keys() -> void:
|
func bind_keys() -> void:
|
||||||
|
@ -52,6 +51,8 @@ func load_from_file() -> void:
|
||||||
|
|
||||||
if err != OK:
|
if err != OK:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.clone_config(Config.new_clear())
|
||||||
|
|
||||||
for key in config.get_section_keys("FunkPanion"):
|
for key in config.get_section_keys("FunkPanion"):
|
||||||
var value = config.get_value("FunkPanion", key)
|
var value = config.get_value("FunkPanion", key)
|
||||||
|
|
Loading…
Reference in a new issue