From afc8d2fdce392253d3005353ded72ac2234d1b53 Mon Sep 17 00:00:00 2001
From: Leon Styhre <leon@leonstyhre.com>
Date: Tue, 8 Jun 2021 00:42:14 +0200
Subject: [PATCH] Fixed an issue where the wrong setting was used for
 determining miximage overwriting.

---
 es-app/src/guis/GuiScraperSearch.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/es-app/src/guis/GuiScraperSearch.cpp b/es-app/src/guis/GuiScraperSearch.cpp
index 7973164e0..a2acbddb8 100644
--- a/es-app/src/guis/GuiScraperSearch.cpp
+++ b/es-app/src/guis/GuiScraperSearch.cpp
@@ -682,7 +682,7 @@ void GuiScraperSearch::update(int deltaTime)
                     Settings::getInstance()->getBool("MiximageGenerate")) {
                 std::string currentMiximage = mLastSearch.game->getMiximagePath();
                 if (currentMiximage == "" || (currentMiximage != "" &&
-                        Settings::getInstance()->getBool("ScraperOverwriteData"))) {
+                        Settings::getInstance()->getBool("MiximageOverwrite"))) {
 
                     mMiximageGenerator = std::make_unique<MiximageGenerator>(mLastSearch.game,
                             mMiximageResult, mResultMessage);