diff options
author | Hop311 <hop3114@gmail.com> | 2023-07-21 01:26:31 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-07-21 01:26:31 +0200 |
commit | 62d001b0fa209f259440e160503dc5ffe5bcaa8f (patch) | |
tree | a0b28dffaba50d351cab1619f54516be23d2aa6f /game/src/Game/Autoload/Events/Options.gd | |
parent | f3f240853b15a9f9b7cb561dc6626e7f342c5c74 (diff) |
Tidying: missing req comments, submodules, hotkeys
Diffstat (limited to 'game/src/Game/Autoload/Events/Options.gd')
-rw-r--r-- | game/src/Game/Autoload/Events/Options.gd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/game/src/Game/Autoload/Events/Options.gd b/game/src/Game/Autoload/Events/Options.gd index 08f34db..726960b 100644 --- a/game/src/Game/Autoload/Events/Options.gd +++ b/game/src/Game/Autoload/Events/Options.gd @@ -10,6 +10,8 @@ func load_settings_from_file() -> void: # REQUIREMENTS # * SS-11 +# * UIFUN-13 +# * FS-563 func save_settings_to_file() -> void: save_settings.emit(_settings_file) _settings_file.save(_settings_file_path) @@ -18,6 +20,8 @@ func try_reset_settings() -> void: reset_settings.emit() const settings_file_path_setting : String = "openvic/settings/settings_file_path" +# REQUIREMENTS +# * FS-561 const settings_file_path_default : String = "user://settings.cfg" var _settings_file_path : String = ProjectSettings.get_setting(settings_file_path_setting, settings_file_path_default) @@ -25,7 +29,8 @@ var _settings_file := ConfigFile.new() # REQUIREMENTS # * SS-9 -# * UIFUN-7 +# * UIFUN-7, UIFUN-12 +# * FS-562 func _init(): if FileAccess.file_exists(_settings_file_path): _settings_file.load(_settings_file_path) |