Skip to content

Commit b75ba53

Browse files
committed
GH-2785 fix crash caused by starting multiple mod folder update tasks
1 parent 9037873 commit b75ba53

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

api/logic/minecraft/mod/ModFolderModel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ bool ModFolderModel::update()
7676
}
7777
if(m_update) {
7878
scheduled_update = true;
79+
return true;
7980
}
8081

8182
auto task = new ModFolderLoadTask(m_dir);

0 commit comments

Comments
 (0)