diff options
Diffstat (limited to 'logic/LegacyInstance.cpp')
-rw-r--r-- | logic/LegacyInstance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp index 96aeff69..ff1eed44 100644 --- a/logic/LegacyInstance.cpp +++ b/logic/LegacyInstance.cpp @@ -127,7 +127,7 @@ std::shared_ptr<Task> LegacyInstance::doUpdate() BaseProcess *LegacyInstance::prepareForLaunch(AuthSessionPtr account) { QString launchScript; - QIcon icon = MMC->icons()->getIcon(iconKey()); + QIcon icon = ENV.icons()->getIcon(iconKey()); auto pixmap = icon.pixmap(128, 128); pixmap.save(PathCombine(minecraftRoot(), "icon.png"), "PNG"); |