From 62d001b0fa209f259440e160503dc5ffe5bcaa8f Mon Sep 17 00:00:00 2001 From: Hop311 Date: Fri, 21 Jul 2023 00:26:31 +0100 Subject: Tidying: missing req comments, submodules, hotkeys --- game/src/Game/Autoload/Events/Options.gd | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'game/src/Game/Autoload/Events') 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) -- cgit v1.2.3-56-ga3b1