mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 03:16:58 +03:00
Actually remove instances if they fail to load
This commit is contained in:
parent
549198031d
commit
8d0ff99089
1 changed files with 8 additions and 1 deletions
|
|
@ -323,7 +323,14 @@ bool OneSixInstance::reloadVersion(QWidget *widgetParent)
|
|||
{
|
||||
ret = d->vanillaVersion->reload(widgetParent, true);
|
||||
}
|
||||
emit versionReloaded();
|
||||
if (ret)
|
||||
{
|
||||
emit versionReloaded();
|
||||
}
|
||||
else
|
||||
{
|
||||
nuke();
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue