mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-11 04:55:35 -04:00
Combine if statements
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
d157159106
commit
c1c198b84b
@ -168,13 +168,12 @@ void ModrinthCheckUpdate::checkNextLoader()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_loaders_list.size() == 0) {
|
if (m_loaders_list.isEmpty() && m_loader_idx == 0) {
|
||||||
if (m_loader_idx == 0) {
|
getUpdateModsForLoader({});
|
||||||
getUpdateModsForLoader({});
|
m_loader_idx++;
|
||||||
m_loader_idx++;
|
return;
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_loader_idx < m_loaders_list.size()) {
|
if (m_loader_idx < m_loaders_list.size()) {
|
||||||
getUpdateModsForLoader(m_loaders_list.at(m_loader_idx));
|
getUpdateModsForLoader(m_loaders_list.at(m_loader_idx));
|
||||||
m_loader_idx++;
|
m_loader_idx++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user