mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-13 20:22:13 +00:00
NOISSUE clean up some bad/dead code
This commit is contained in:
@@ -31,7 +31,7 @@ int main_gui(MultiMC &app)
|
||||
app.setApplicationTheme(MMC->settings()->get("ApplicationTheme").toString());
|
||||
|
||||
// show main window
|
||||
auto inst = app.instances()->getInstanceById(app.launchId);
|
||||
auto inst = app.instances()->getInstanceById(app.instanceIdToLaunch);
|
||||
if(inst)
|
||||
{
|
||||
return launchInstance(app, inst);
|
||||
|
||||
Reference in New Issue
Block a user