aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwindrammer <31085911+likeawindrammer@users.noreply.github.com>2020-07-29 11:19:27 -0600
committerGitHub <noreply@github.com>2020-07-29 12:19:27 -0500
commit0b7b70c76a76f68b43a4e8e3a1eaccda173d6955 (patch)
tree3d9c370a8bc57301c14ea6933fab63d18ce9b7a7
parenta640def15718fd4eae5a4dd4364eaa559358e973 (diff)
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 <Cents02@Cents0.me>
-rw-r--r--src/text_file_functions.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}