From 0b7b70c76a76f68b43a4e8e3a1eaccda173d6955 Mon Sep 17 00:00:00 2001 From: windrammer <31085911+likeawindrammer@users.noreply.github.com> Date: Wed, 29 Jul 2020 11:19:27 -0600 Subject: [PATCH] Fix character-specific theme not falling back to current theme (#207) It is only logical to say that the user, when not specifying any specific speedline or similar in the theme, then the current theme should be checked first rather than the default theme. Co-authored-by: Cents02 --- src/text_file_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index 122bc41..2340bd8 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -641,7 +641,7 @@ QString AOApplication::get_char_shouts(QString p_char) { QString f_result = read_char_ini(p_char, "shouts", "Options"); if (f_result == "") - return "default"; + return current_theme; // The default option is the current theme. return f_result; }