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/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'game/src/Game/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd') diff --git a/game/src/Game/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd b/game/src/Game/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd index c5a805e..079dd4d 100644 --- a/game/src/Game/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd +++ b/game/src/Game/Menu/OptionMenu/SettingNodes/SettingOptionButton.gd @@ -57,9 +57,9 @@ func _ready(): item_selected.connect(func(index : int): option_selected.emit(index, true)) _setup_button() if not _valid_index(default_selected) or selected == -1: - var msg := "Failed to generate %s %s options." % [setting_name, section_name] + var msg := "Failed to generate any valid %s %s options." % [setting_name, section_name] push_error(msg) - OS.alert(msg, "%s Options Error" % section_name) + OS.alert(msg, "Options Error: %s / %s" % [section_name, setting_name]) get_tree().quit() func load_setting(file : ConfigFile) -> void: -- cgit v1.2.3-56-ga3b1