diff options
| author | Cerapter <cerap@protonmail.com> | 2018-12-12 19:47:54 +0100 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-12-12 19:47:54 +0100 |
| commit | 171196885d88360c8c06def67ae398c8187dfd89 (patch) | |
| tree | 57bb4ac47202158ac5062488151d3c83305ce424 | |
| parent | c5d983033ec967b644e7ed9bd1a0f5a1b4f428c3 (diff) | |
Fixed a bug where the `misc/` bubbles would be preferred over the characters' own.
| -rw-r--r-- | aomovie.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aomovie.cpp b/aomovie.cpp index 97ee2489..edf5bdb0 100644 --- a/aomovie.cpp +++ b/aomovie.cpp @@ -39,10 +39,10 @@ void AOMovie::play(QString p_gif, QString p_char, QString p_custom_theme) QString placeholder_path = ao_app->get_theme_path("placeholder.gif"); QString default_placeholder_path = ao_app->get_default_theme_path("placeholder.gif"); - if (file_exists(misc_path)) - gif_path = misc_path; - else if (file_exists(custom_path)) + if (file_exists(custom_path)) gif_path = custom_path; + else if (file_exists(misc_path)) + gif_path = misc_path; else if (file_exists(custom_theme_path)) gif_path = custom_theme_path; else if (file_exists(theme_path)) |
