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>
This commit is contained in:
windrammer 2020-07-29 11:19:27 -06:00 committed by GitHub
parent a640def157
commit 0b7b70c76a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}