aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2021-04-26 18:31:24 -0500
committerGitHub <noreply@github.com>2021-04-26 18:31:24 -0500
commitf08a293a2f052806480984717cf2961f8b6824ac (patch)
tree87bd85311baab6f8393e127c8381f6a208f93fe4
parent2379c5aaff7c1b49e94eda155226bd388271dfe1 (diff)
parent0ced99c966aefb365694a1137c9adccd3721712e (diff)
Merge pull request #543 from AttorneyOnline/fix/effects-pathing
Fix effects in misc folders not being detected by get_effects
-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 1f349459..39ebb7e8 100644
--- a/src/text_file_functions.cpp
+++ b/src/text_file_functions.cpp
@@ -848,7 +848,7 @@ QStringList AOApplication::get_effects(QString p_char)
{
QString p_misc = read_char_ini(p_char, "effects", "Options");
QString p_path = get_asset("effects/effects.ini", current_theme, get_subtheme(), default_theme, "");
- QString p_misc_path = get_asset("effects/effects.ini", current_theme, get_subtheme(), default_theme, p_misc);
+ QString p_misc_path = get_asset("effects.ini", current_theme, get_subtheme(), default_theme, p_misc);
QStringList effects;
QStringList lines = read_file(p_path).split("\n");